From: Amos Jeffries Date: Mon, 20 Dec 2010 04:55:46 +0000 (-0700) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_1_10~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58b05e2ba772b2fef9e78473ae9f06730a671d56;p=thirdparty%2Fsquid.git Author: Henrik Nordstrom 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 472887abda..a456bdb503 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);