Skip to content

Commit

Permalink
Merge pull request #56331 from Cnidarias/large_http_downloads
Browse files Browse the repository at this point in the history
Fix http limitation for large "content-length"
  • Loading branch information
Faless authored Jan 4, 2022
2 parents 851fb16 + 69a5324 commit 23ba76f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/io/http_client_tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class HTTPClientTCP : public HTTPClient {
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;
Expand Down

0 comments on commit 23ba76f

Please sign in to comment.