From: robertc <> Date: Sat, 12 Oct 2002 19:41:25 +0000 (+0000) Subject: Output occurs when data is sent, not body data sent X-Git-Tag: SQUID_3_0_PRE1~676 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b891193f898c6774bce9d2353f8428980af6fa47;p=thirdparty%2Fsquid.git Output occurs when data is sent, not body data sent --- diff --git a/src/client_side.cc b/src/client_side.cc index f3bfb30275..a0427cebe3 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.597 2002/10/03 06:45:53 hno Exp $ + * $Id: client_side.cc,v 1.598 2002/10/12 13:41:25 robertc Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -586,7 +586,7 @@ responseFinishedOrFailed(HttpReply * rep, StoreIOBuffer recievedData) int contextStartOfOutput(clientSocketContext * context) { - return context->http->out.offset == 0 ? 1 : 0; + return context->http->out.size == 0 ? 1 : 0; } void