forked from boostorg/beast
Write buffer option does not change capacity
This commit is contained in:
1 parent
74e77682c7
commit
dfb2d05be3
2 files changed
+5
-3
No files matched your search
@@ -235,12 +235,11 @@ public:
|
||||
rd_msg_max_ = o.value;
|
||||
}
|
||||
|
||||
/// Set the size of the mask buffer
|
||||
/// Set the size of the write buffer
|
||||
void
|
||||
set_option(write_buffer_size const& o)
|
||||
{
|
||||
wr_buf_size_ = o.value;
|
||||
stream_.capacity(o.value);
|
||||
}
|
||||
|
||||
/** Get the io_service associated with the stream.
|
||||
|
||||
Reference in new issue
Block a user