]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Output occurs when data is sent, not body data sent
authorrobertc <>
Sat, 12 Oct 2002 19:41:25 +0000 (19:41 +0000)
committerrobertc <>
Sat, 12 Oct 2002 19:41:25 +0000 (19:41 +0000)
src/client_side.cc

index f3bfb302758d7fd96f5e62203faaa9567f0f9642..a0427cebe38268b20f7470ca06f91e22eeaaf8ba 100644 (file)
@@ -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