close stream after HTTP response

This commit is contained in:
orignal
2026-08-04 09:35:51 -04:00
parent 57874dafb6
commit 6246c4f9d3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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)
{