]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Do not retry server transactions aborted due to request body supply
authorrousskov <>
Wed, 20 Jun 2007 02:58:26 +0000 (02:58 +0000)
committerrousskov <>
Wed, 20 Jun 2007 02:58:26 +0000 (02:58 +0000)
failures because the problem is not with the server and will not go away
if FwdState tries again.

Merged from the squid3-icap branch.

src/Server.cc

index 7e5fefe7301e7436d5c50e81a0e415f072b420f1..cbd3183732c41d1c07b51de272d1a14084adcf6e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: Server.cc,v 1.11 2007/05/08 16:45:00 rousskov Exp $
+ * $Id: Server.cc,v 1.12 2007/06/19 20:58:26 rousskov Exp $
  *
  * DEBUG:
  * AUTHOR: Duane Wessels
@@ -213,6 +213,7 @@ ServerStateData::handleRequestBodyProducerAborted()
     if (requestSender != NULL)
         debugs(9,3, HERE << "fyi: request body aborted while we were sending");
 
+    fwd->dontRetry(true); // the problem is not with the server
     stopConsumingFrom(requestBodySource); // requestSender, if any, will notice
 
     // kids extend this