forked from boostorg/beast
Fix leftovers in basic_parser corner case:
fix #1734, close #1736 buf_.get() has size `buf_len_`, but only `size` number of octets in that buffer is valid.
This commit is contained in:
committed by
Vinnie Falco
parent
cee64b5223
commit
1abe92f524
@@ -128,6 +128,8 @@ class basic_parser
|
||||
template<bool OtherIsRequest>
|
||||
friend class basic_parser;
|
||||
|
||||
friend class basic_parser_test;
|
||||
|
||||
protected:
|
||||
/// Default constructor
|
||||
basic_parser() = default;
|
||||
|
||||
Reference in New Issue
Block a user