forked from boostorg/beast
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_)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user