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

index 5b1f9feb43e409afd138aa46d8fadedbbebb2661..7645324f7756e883be6e3fb26bc9ecdbad068e13 100644 (file)
@@ -464,13 +464,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 */