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