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