error_codes use source_location.

This commit is contained in:
Klemens Morgenstern
2022-10-26 00:06:01 +08:00
committed by Klemens Morgenstern
parent 9473c10dde
commit f4d1936bb2
27 changed files with 117 additions and 84 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ operator()(
auto sp = wp_.lock();
if(! sp)
{
ec = net::error::operation_aborted;
BOOST_BEAST_ASSIGN_EC(ec, net::error::operation_aborted);
bytes_transferred_ = 0;
return this->complete(cont, ec, bytes_transferred_);
}