From 3a9c37f78b872a01bfe1d01f2736bc5122fb6a47 Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Wed, 28 Jul 2010 21:04:45 +0300 Subject: [PATCH] Bug 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. --- src/http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2