summaryrefslogtreecommitdiff
path: root/core/io/http_client_tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/http_client_tcp.h')
-rw-r--r--core/io/http_client_tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/http_client_tcp.h b/core/io/http_client_tcp.h
index 31ad9143db..886ad0ef48 100644
--- a/core/io/http_client_tcp.h
+++ b/core/io/http_client_tcp.h
@@ -58,8 +58,8 @@ private:
Vector<uint8_t> chunk;
int chunk_left = 0;
bool chunk_trailer_part = false;
- int body_size = -1;
- int body_left = 0;
+ int64_t body_size = -1;
+ int64_t body_left = 0;
bool read_until_eof = false;
Ref<StreamPeerTCP> tcp_connection;