mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-29 05:28:54 +00:00
close stream after HTTP response
This commit is contained in:
@@ -1035,6 +1035,7 @@ namespace client
|
||||
LogPrint(eLogError, "Addressbook: Receive HTTP response exception: ", ex.what ());
|
||||
return false;
|
||||
}
|
||||
stream->AsyncClose ();
|
||||
// check result
|
||||
if (res.result () != boost::beast::http::status::ok)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user