summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/io/http_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/http_client.h b/core/io/http_client.h
index 1dc1f3d76a..a233d2d038 100644
--- a/core/io/http_client.h
+++ b/core/io/http_client.h
@@ -182,7 +182,8 @@ private:
int response_num = 0;
Vector<String> response_headers;
- int read_chunk_size = 4096;
+ // 64 KiB by default (favors fast download speeds at the cost of memory usage).
+ int read_chunk_size = 65536;
Error _get_http_data(uint8_t *p_buffer, int p_bytes, int &r_received);