You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Increase the default HTTPClient download chunk size to 64 KiB
This improves download speeds at the cost of increased memory usage.
This change also effects HTTPRequest automatically.
See #32807 and #33862.
(cherry picked from commit 13357095ee)
This commit is contained in:
committed by
Rémi Verschelde
parent
b682df5653
commit
2c6b3074fc
@@ -749,7 +749,8 @@ HTTPClient::HTTPClient() {
|
||||
ssl = false;
|
||||
blocking = false;
|
||||
handshaking = false;
|
||||
read_chunk_size = 4096;
|
||||
// 64 KiB by default (favors fast download speeds at the cost of memory usage).
|
||||
read_chunk_size = 65536;
|
||||
}
|
||||
|
||||
HTTPClient::~HTTPClient() {
|
||||
|
||||
Reference in New Issue
Block a user