mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Fix test::pipe read_size
This commit is contained in:
@ -11,6 +11,7 @@ Version 50
|
||||
* Body documentation work
|
||||
* Add missing handler_alloc nested types
|
||||
* Fix chunk delimiter parsing
|
||||
* Fix test::pipe read_size
|
||||
|
||||
API Changes:
|
||||
|
||||
|
@ -368,7 +368,7 @@ read_some(MutableBufferSequence const& buffers,
|
||||
if(in_.b.size() > 0)
|
||||
{
|
||||
bytes_transferred = buffer_copy(
|
||||
buffers, in_.b.data(), write_max_);
|
||||
buffers, in_.b.data(), read_max_);
|
||||
in_.b.consume(bytes_transferred);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user