Fix Content-Length parsing

Fix #1880
This commit is contained in:
Richard Hodges
2020-03-19 16:21:29 +01:00
parent 5e9e517dc5
commit d12dcef52c
6 changed files with 113 additions and 20 deletions
@@ -624,6 +624,10 @@ protected:
on_finish_impl(error_code& ec) = 0;
private:
boost::optional<std::uint64_t>
content_length_unchecked() const;
template<class ConstBufferSequence>
std::size_t
put_from_stack(