Fix for basic_parser::skip(true) and docs

fix #742
This commit is contained in:
Vinnie Falco committed 2017-08-15 07:00:56 -07:00
1 parent f570593a01
commit 76feb4afd4
6 files changed
+25 -12

No files matched your search

@@ -587,10 +587,8 @@ finish_header(error_code& ec, std::false_type)
// treat the message as not having a body.
// https://github.com/boostorg/beast/issues/692
state_ = state::complete;
return;
}
if(f_ & flagContentLength)
else if(f_ & flagContentLength)
{
if(len_ > body_limit_)
{