mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Correctly return errors from proxy
This commit is contained in:
parent
c55b6f84a5
commit
9107bcaf24
6 changed files with 75 additions and 36 deletions
|
@ -864,7 +864,7 @@ tl_object_ptr<ton_api::http_response> HttpResponse::store_tl() {
|
|||
} else {
|
||||
headers.push_back(HttpHeader{"Connection", "Close"}.store_tl());
|
||||
}
|
||||
return create_tl_object<ton_api::http_response>(proto_version_, code_, reason_, std::move(headers));
|
||||
return create_tl_object<ton_api::http_response>(proto_version_, code_, reason_, std::move(headers), false);
|
||||
}
|
||||
|
||||
td::Status HttpHeader::basic_check() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue