mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
bugfixes + doc update
This commit is contained in:
parent
77842f9b63
commit
1de39f5d7c
44 changed files with 652 additions and 272 deletions
|
@ -210,6 +210,9 @@ class HttpRldpPayloadReceiver : public td::actor::Actor {
|
|||
|
||||
void abort_query(td::Status error) {
|
||||
LOG(INFO) << "failed to receive HTTP payload: " << error;
|
||||
if (payload_) {
|
||||
payload_->set_error();
|
||||
}
|
||||
stop();
|
||||
}
|
||||
|
||||
|
@ -305,6 +308,9 @@ class HttpRldpPayloadSender : public td::actor::Actor {
|
|||
if (!cur_query_promise_) {
|
||||
return;
|
||||
}
|
||||
if (payload_->is_error()) {
|
||||
return;
|
||||
}
|
||||
if (payload_->parse_completed() || payload_->ready_bytes() >= ton::http::HttpRequest::low_watermark()) {
|
||||
answer_query();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue