You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Flush HTTPClient response data only on request/close in HTML5 platform
(cherry picked from commit 98039909f2)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
c5b5fd61d4
commit
a423adbee6
@@ -193,8 +193,6 @@ PoolByteArray HTTPClient::read_response_body_chunk() {
|
|||||||
if (response_read_offset == polled_response.size()) {
|
if (response_read_offset == polled_response.size()) {
|
||||||
status = STATUS_CONNECTED;
|
status = STATUS_CONNECTED;
|
||||||
polled_response.resize(0);
|
polled_response.resize(0);
|
||||||
polled_response_code = 0;
|
|
||||||
polled_response_header = String();
|
|
||||||
godot_xhr_reset(xhr_id);
|
godot_xhr_reset(xhr_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user