mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-14 12:12:21 +00:00
Fix writing payload to http
This commit is contained in:
parent
05bbd9e0ee
commit
a6e38b7cde
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ bool HttpPayload::store_http(td::ChainBufferWriter &output, size_t max_size, Htt
|
|||
wrote = true;
|
||||
}
|
||||
}
|
||||
if (chunks_.size() != 0) {
|
||||
if (chunks_.size() != 0 || !parse_completed()) {
|
||||
return wrote;
|
||||
}
|
||||
if (!written_zero_chunk_) {
|
||||
|
|
Loading…
Reference in a new issue