mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
Write buffer option does not change capacity
This commit is contained in:
@ -7,6 +7,10 @@ HTTP
|
|||||||
* Check invariants in parse_op:
|
* Check invariants in parse_op:
|
||||||
* Clean up message docs
|
* Clean up message docs
|
||||||
|
|
||||||
|
WebSocket
|
||||||
|
|
||||||
|
* Write buffer option does not change capacity
|
||||||
|
|
||||||
Core
|
Core
|
||||||
|
|
||||||
* Meet DynamicBuffer requirements for static_streambuf
|
* Meet DynamicBuffer requirements for static_streambuf
|
||||||
@ -17,7 +21,6 @@ Extras
|
|||||||
- New overload of fail() specifies file and line
|
- New overload of fail() specifies file and line
|
||||||
- BEAST_EXPECTS only evaluates the reason string on a failure
|
- BEAST_EXPECTS only evaluates the reason string on a failure
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
1.0.0-b17
|
1.0.0-b17
|
||||||
|
@ -235,12 +235,11 @@ public:
|
|||||||
rd_msg_max_ = o.value;
|
rd_msg_max_ = o.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set the size of the mask buffer
|
/// Set the size of the write buffer
|
||||||
void
|
void
|
||||||
set_option(write_buffer_size const& o)
|
set_option(write_buffer_size const& o)
|
||||||
{
|
{
|
||||||
wr_buf_size_ = o.value;
|
wr_buf_size_ = o.value;
|
||||||
stream_.capacity(o.value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get the io_service associated with the stream.
|
/** Get the io_service associated with the stream.
|
||||||
|
Reference in New Issue
Block a user