From: Henrik Nordstrom Date: Tue, 2 Nov 2010 01:03:15 +0000 (+0100) Subject: Correct ESI processing condition. Need to look for parsed header, not the header... X-Git-Tag: take1~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a5e0b0392c3591c88c89b570295493ca7df2e69;p=thirdparty%2Fsquid.git Correct ESI processing condition. Need to look for parsed header, not the header mask (filtered) --- diff --git a/src/esi/Esi.cc b/src/esi/Esi.cc index 57aaa3b661..88e85884ad 100644 --- a/src/esi/Esi.cc +++ b/src/esi/Esi.cc @@ -2429,7 +2429,7 @@ esiEnableProcessing (HttpReply *rep) { int rv = 0; - if (rep->header.has(HDR_SURROGATE_CONTROL)) { + if (rep->surrogate_control) { HttpHdrScTarget *sctusable = httpHdrScGetMergedTarget (rep->surrogate_control, Config.Accel.surrogate_id);