This commit is contained in:
yhirose 2020-07-30 18:26:18 -04:00
parent 110393eadb
commit 3e906a9b8c
2 changed files with 38 additions and 1 deletions

View file

@ -4518,7 +4518,7 @@ inline bool ClientImpl::send(const Request &req, Response &res) {
return handle_request(strm, req, res, close_connection);
});
if (close_connection) { stop(); }
if (close_connection || !ret) { stop(); }
return ret;
}