Write buffer option does not change capacity

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:13 -07:00
1 parent 74e77682c7
commit dfb2d05be3
2 files changed
+5 -3

No files matched your search

+1 -2
View File
@@ -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.