mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 13:27:33 +02:00
Don't copy the handler in write_some_op
This commit is contained in:
committed by
Vinnie Falco
parent
3a5f2effc1
commit
5a53bd449a
@@ -1,3 +1,9 @@
|
|||||||
|
Version 161:
|
||||||
|
|
||||||
|
* Don't copy the handler in write_some_op
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 160:
|
Version 160:
|
||||||
|
|
||||||
* Examples clear the HTTP message before reading
|
* Examples clear the HTTP message before reading
|
||||||
|
@@ -561,7 +561,7 @@ operator()(
|
|||||||
if(! cont_)
|
if(! cont_)
|
||||||
return boost::asio::post(
|
return boost::asio::post(
|
||||||
ws_.stream_.get_executor(),
|
ws_.stream_.get_executor(),
|
||||||
bind_handler(h_, ec, bytes_transferred_));
|
bind_handler(std::move(h_), ec, bytes_transferred_));
|
||||||
h_(ec, bytes_transferred_);
|
h_(ec, bytes_transferred_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user