]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3398: persistent server connection closed after PUT/DELETE
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 10 Nov 2011 21:49:07 +0000 (10:49 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 10 Nov 2011 21:49:07 +0000 (10:49 +1300)
src/forward.cc

index f076604e58989d3047fbf8cc5a4a65f0667ad979..c1462c91018560e5727ab734b494876a0fb59ea4 100644 (file)
@@ -498,13 +498,6 @@ FwdState::checkRetry()
 bool
 FwdState::checkRetriable()
 {
-    /* If there is a request body then Squid can only try once
-     * even if the method is indempotent
-     */
-
-    if (request->body_pipe != NULL)
-        return false;
-
     /* RFC2616 9.1 Safe and Idempotent Methods */
     switch (request->method.id()) {
         /* 9.1.1 Safe Methods */