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:
Peter Jankuliak authored and Vinnie Falco committed 2019-10-18 05:30:29 -07:00
1 parent cee64b5223
commit 1abe92f524
4 files changed
+102 -2

No files matched your search

@@ -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;