From: Amos Jeffries Date: Sat, 31 Jul 2010 14:36:34 +0000 (-0600) Subject: Author: Christos Tsantilas X-Git-Tag: SQUID_3_1_6~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1827f2c2ffd5743977156888a6c41813db12906;p=thirdparty%2Fsquid.git Author: Christos Tsantilas Fix: 32bit integer used in HttpStateData to store the bytes received from next hop A simple integer used to store the bytes received from the next hop (http server of proxy), which my cause problems when receives huge http objects on 32bit systems. --- diff --git a/src/http.h b/src/http.h index 41d9737e56..eeebe1c272 100644 --- a/src/http.h +++ b/src/http.h @@ -70,7 +70,7 @@ public: http_state_flags flags; size_t read_sz; int header_bytes_read; // to find end of response, - int reply_bytes_read; // without relying on StoreEntry + int64_t reply_bytes_read; // without relying on StoreEntry int body_bytes_truncated; // positive when we read more than we wanted MemBuf *readBuf; bool ignoreCacheControl;