diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-11 09:33:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-11 09:33:51 +0200 |
commit | a0d800e967d6980fefc21b6d6aa1d86138004a5c (patch) | |
tree | eca52612c520287ad2fb1afef8e68182e877345c | |
parent | 88e35c88a1a37ed6c925111b8019587ac092912a (diff) | |
parent | 0caaaf4018feddb1d3e6e75870df282715efd276 (diff) |
Merge pull request #50362 from timothyqiu/http-eof
Fix unicode invalid skip error in AssetLib
-rw-r--r-- | core/io/http_client_tcp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/http_client_tcp.cpp b/core/io/http_client_tcp.cpp index f9b3165a07..f291086808 100644 --- a/core/io/http_client_tcp.cpp +++ b/core/io/http_client_tcp.cpp @@ -590,6 +590,7 @@ PackedByteArray HTTPClientTCP::read_response_body_chunk() { } } if (err != OK) { + ret.resize(_offset); break; } } |