]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3775: Disable HTTP/1.1 pipeline feature for pinned connections
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 1 May 2015 06:43:48 +0000 (23:43 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 May 2015 06:43:48 +0000 (23:43 -0700)
src/client_side.cc

index bb2345adf5f94619a9d11add0dc66de68abe8342..c316acda3f324497f2d28127d5c4ba316c7174f4 100644 (file)
@@ -2860,6 +2860,9 @@ connStripBufferWhitespace (ConnStateData * conn)
 int
 ConnStateData::pipelinePrefetchMax() const
 {
+    // TODO: Support pipelined requests through pinned connections.
+    if (pinning.pinned)
+        return 0;
     return Config.pipeline_max_prefetch;
 }