mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
@ -2,6 +2,7 @@ Version 267:
|
|||||||
|
|
||||||
* Add package for Travis config
|
* Add package for Travis config
|
||||||
* Fix signed/unsigned mismatch in file_stdio::seek
|
* Fix signed/unsigned mismatch in file_stdio::seek
|
||||||
|
* basic_stream dtor cannot throw
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -145,9 +145,13 @@ basic_stream<Protocol, Executor, RatePolicy>::
|
|||||||
impl_type::
|
impl_type::
|
||||||
close()
|
close()
|
||||||
{
|
{
|
||||||
socket.close();
|
{
|
||||||
|
error_code ec;
|
||||||
|
socket.close(ec);
|
||||||
|
}
|
||||||
timer.cancel();
|
timer.cancel();
|
||||||
|
|
||||||
|
|
||||||
// have to let the read/write ops cancel the timer,
|
// have to let the read/write ops cancel the timer,
|
||||||
// otherwise we will get error::timeout on close when
|
// otherwise we will get error::timeout on close when
|
||||||
// we actually want net::error::operation_aborted.
|
// we actually want net::error::operation_aborted.
|
||||||
|
Reference in New Issue
Block a user