1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #56331 from Cnidarias/large_http_downloads

Fix http limitation for large "content-length"
This commit is contained in:
Fabio Alessandrelli
2022-01-04 16:34:11 +01:00
committed by GitHub

View File

@@ -58,8 +58,8 @@ private:
Vector<uint8_t> chunk; Vector<uint8_t> chunk;
int chunk_left = 0; int chunk_left = 0;
bool chunk_trailer_part = false; bool chunk_trailer_part = false;
int body_size = -1; int64_t body_size = -1;
int body_left = 0; int64_t body_left = 0;
bool read_until_eof = false; bool read_until_eof = false;
Ref<StreamPeerTCP> tcp_connection; Ref<StreamPeerTCP> tcp_connection;