소스 검색

Merge pull request #56331 from Cnidarias/large_http_downloads

Fix http limitation for large "content-length"
Fabio Alessandrelli 3 년 전
부모
커밋
23ba76f2ec
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      core/io/http_client_tcp.h

+ 2 - 2
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;