Rename to write_buffer_size

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:12 -07:00
1 parent 74f9211366
commit 1156b483c4
8 files changed
+56 -51

No files matched your search

+1 -1
View File
@@ -695,7 +695,7 @@ write_frame(bool fin, ConstBufferSequence const& bs, error_code& ec)
detail::prepared_key_type key;
detail::prepare_key(key, fh.key);
auto const tmp_size =
detail::clamp(fh.len, mask_buf_size_);
detail::clamp(fh.len, wr_buf_size_);
std::unique_ptr<std::uint8_t[]> up(
new std::uint8_t[tmp_size]);
std::uint64_t remain = fh.len;
@@ -67,7 +67,7 @@ class stream<NextLayer>::write_frame_op
fh.key = ws.maskgen_();
detail::prepare_key(key, fh.key);
tmp_size = detail::clamp(
fh.len, ws.mask_buf_size_);
fh.len, ws.wr_buf_size_);
tmp = boost_asio_handler_alloc_helpers::
allocate(tmp_size, h);
remain = fh.len;