Fix unicode invalid skip error in AssetLib
(cherry picked from commit 0caaaf4018
)
This commit is contained in:
parent
cca999c007
commit
859dba0dd6
|
@ -691,8 +691,10 @@ PoolByteArray HTTPClient::read_response_body_chunk() {
|
|||
body_left -= rec;
|
||||
}
|
||||
}
|
||||
if (err != OK)
|
||||
if (err != OK) {
|
||||
ret.resize(_offset);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue