Write buffer option does not change capacity

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:13 -07:00
parent 74e77682c7
commit dfb2d05be3
2 changed files with 5 additions and 3 deletions
+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.