diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-01-04 16:34:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 16:34:11 +0100 |
commit | 23ba76f2ecf0a44b41c7ec7fc583d65b0c7164b1 (patch) | |
tree | 5c881c686faac55e986343c08153f5947e0e9a28 /core/io | |
parent | 851fb16350644c710390e08aa521fac771db39fe (diff) | |
parent | 69a532414c87bfbc7465c45b92f7315d3edf206b (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.h | 4 |
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; |