From: rousskov <> Date: Wed, 20 Jun 2007 02:58:26 +0000 (+0000) Subject: Do not retry server transactions aborted due to request body supply X-Git-Tag: SQUID_3_0_PRE7~214 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0919c51e7dbd0e84e72e304616805df2e146a29a;p=thirdparty%2Fsquid.git Do not retry server transactions aborted due to request body supply failures because the problem is not with the server and will not go away if FwdState tries again. Merged from the squid3-icap branch. --- diff --git a/src/Server.cc b/src/Server.cc index 7e5fefe730..cbd3183732 100644 --- a/src/Server.cc +++ b/src/Server.cc @@ -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