summaryrefslogtreecommitdiffstats
path: root/core/io/http_client_tcp.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-01-23 01:28:35 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-01-23 01:30:35 +0100
commit01e5e98312389f09320f72b34e7be4f5f39f19da (patch)
tree34a8d3a041e0a8525b20050e4114a6f261c4e83c /core/io/http_client_tcp.cpp
parente363f404a5605517b1b901a7c90986741bc29d22 (diff)
downloadredot-engine-01e5e98312389f09320f72b34e7be4f5f39f19da.tar.gz
[Net] Fix get_response_body_length for large files.
Parsing was fixed, but not the return value for the exposed getter.
Diffstat (limited to 'core/io/http_client_tcp.cpp')
-rw-r--r--core/io/http_client_tcp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/http_client_tcp.cpp b/core/io/http_client_tcp.cpp
index 4c27cd1b10..6e4417e1ff 100644
--- a/core/io/http_client_tcp.cpp
+++ b/core/io/http_client_tcp.cpp
@@ -534,7 +534,7 @@ Error HTTPClientTCP::poll() {
return OK;
}
-int HTTPClientTCP::get_response_body_length() const {
+int64_t HTTPClientTCP::get_response_body_length() const {
return body_size;
}