1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Bugfixes in rldp-http-proxy and http parser

This commit is contained in:
SpyCheese 2022-10-04 11:07:38 +03:00
parent 4b940f8bad
commit 69cee95abb
4 changed files with 7 additions and 5 deletions

View file

@ -587,7 +587,7 @@ tl_object_ptr<ton_api::http_payloadPart> HttpPayload::store_tl(size_t max_size)
max_size -= s.size();
}
obj->data_.truncate(obj->data_.size() - S.size());
if (chunks_.size() != 0) {
if (chunks_.size() != 0 || !parse_completed()) {
return obj;
}
if (!written_zero_chunk_) {