]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fake CONNECT exceeds concurrent requests limit part2: wrap Openssl related code insid...
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 25 Feb 2015 16:22:15 +0000 (18:22 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 25 Feb 2015 16:22:15 +0000 (18:22 +0200)
src/client_side.cc

index 7f16b4e73b198b25613f22f114b65eb5e62b3640..0a7c66853a996ac93fc3addf6c7b42ba5a09dd64 100644 (file)
@@ -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.