1
0
Fork 0
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:
SpyCheese 2022-09-29 23:29:42 +03:00
parent 05bbd9e0ee
commit a6e38b7cde

View file

@ -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_) {