From: wessels <> Date: Tue, 21 Jul 1998 23:22:02 +0000 (+0000) Subject: more selective about checking assertion X-Git-Tag: SQUID_3_0_PRE1~3025 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbe3cbdc8d815ab752b1f42936c0a5365d2e2c2c;p=thirdparty%2Fsquid.git more selective about checking assertion --- diff --git a/src/client_side.cc b/src/client_side.cc index c4ad34ca7e..7d70c28192 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.360 1998/07/21 03:16:04 wessels Exp $ + * $Id: client_side.cc,v 1.361 1998/07/21 17:22:02 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -1449,7 +1449,7 @@ clientSendMoreData(void *data, char *buf, ssize_t size) memBufAppend(&mb, body_buf, body_size); } } - if (!http->request->range) + if (!http->request->range && http->request->method == METHOD_GET) assert(check_size == size); /* write */ comm_write_mbuf(fd, mb, clientWriteComplete, http);