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:
parent
4b940f8bad
commit
69cee95abb
4 changed files with 7 additions and 5 deletions
|
|
@ -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_) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue