summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-01-04 16:34:11 +0100
committerGitHub <noreply@github.com>2022-01-04 16:34:11 +0100
commit23ba76f2ecf0a44b41c7ec7fc583d65b0c7164b1 (patch)
tree5c881c686faac55e986343c08153f5947e0e9a28 /core/io
parent851fb16350644c710390e08aa521fac771db39fe (diff)
parent69a532414c87bfbc7465c45b92f7315d3edf206b (diff)
Merge pull request #56331 from Cnidarias/large_http_downloads
Fix http limitation for large "content-length"
Diffstat (limited to 'core/io')
-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;