mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
@ -5,6 +5,7 @@ Version 267:
|
|||||||
* basic_stream dtor cannot throw
|
* basic_stream dtor cannot throw
|
||||||
* cmake: check policy first
|
* cmake: check policy first
|
||||||
* Add default dtors to satisfy -Wnon-virtual-dtor
|
* Add default dtors to satisfy -Wnon-virtual-dtor
|
||||||
|
* Multiple I/O of the same type is not supported
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -70,6 +70,13 @@ struct stream_base
|
|||||||
pending_guard(bool& b)
|
pending_guard(bool& b)
|
||||||
: b_(b)
|
: b_(b)
|
||||||
{
|
{
|
||||||
|
// If this assert goes off, it means you are attempting
|
||||||
|
// to issue two of the same asynchronous I/O operation
|
||||||
|
// at the same time, without waiting for the first one
|
||||||
|
// to complete. For example, attempting two simultaneous
|
||||||
|
// calls to async_read_some. Only one pending call of
|
||||||
|
// each I/O type (read and write) is permitted.
|
||||||
|
//
|
||||||
BOOST_ASSERT(! b_);
|
BOOST_ASSERT(! b_);
|
||||||
b_ = true;
|
b_ = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user