forked from boostorg/beast
Rename to buffer_bytes
This commit is contained in:
1 parent
6ccdcdf51d
commit
9f2b0ce1db
62 files changed
+206
-258
No files matched your search
@@ -88,7 +88,7 @@ struct basic_dynamic_body
|
||||
put(ConstBufferSequence const& buffers,
|
||||
error_code& ec)
|
||||
{
|
||||
auto const n = buffer_size(buffers);
|
||||
auto const n = buffer_bytes(buffers);
|
||||
if(body_.size() > body_.max_size() - n)
|
||||
{
|
||||
ec = error::buffer_overflow;
|
||||
|
||||
Reference in new issue
Block a user