]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug fix: 32bit integer used in HttpStateData to store the bytes received from next hop
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 28 Jul 2010 18:04:45 +0000 (21:04 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 28 Jul 2010 18:04:45 +0000 (21:04 +0300)
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.

src/http.h

index 41d9737e56d72d0c6255cc73f9d49c780bccc275..eeebe1c272d0946806e44c854ec651ef9761e121 100644 (file)
@@ -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;