diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba59ce0..1ba340b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/extras/beast/test/pipe_stream.hpp b/extras/beast/test/pipe_stream.hpp index eac8549c..0f02a49d 100644 --- a/extras/beast/test/pipe_stream.hpp +++ b/extras/beast/test/pipe_stream.hpp @@ -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