From: Christos Tsantilas Date: Wed, 25 Feb 2015 16:22:15 +0000 (+0200) Subject: Fake CONNECT exceeds concurrent requests limit part2: wrap Openssl related code insid... X-Git-Tag: merge-candidate-3-v1~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0de57497e1bbff5b02256e879fba76e32d3f81f7;p=thirdparty%2Fsquid.git Fake CONNECT exceeds concurrent requests limit part2: wrap Openssl related code inside "#if USE_OPENSSL ..." --- diff --git a/src/client_side.cc b/src/client_side.cc index 7f16b4e73b..0a7c66853a 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2741,7 +2741,11 @@ ConnStateData::concurrentRequestQueueFilled() const // default to the configured pipeline size. // add 1 because the head of pipeline is counted in concurrent requests and not prefetch queue +#if USE_OPENSSL const int internalRequest = (transparent() && sslBumpMode == Ssl::bumpSplice) ? 1 : 0; +#else + const int internalRequest = 0; +#endif const int concurrentRequestLimit = pipelinePrefetchMax() + 1 + internalRequest; // when queue filled already we cant add more.