forked from boostorg/beast
@@ -11,10 +11,10 @@
|
||||
#include <beast/core/static_string.hpp>
|
||||
#include <beast/core/type_traits.hpp>
|
||||
#include <beast/core/detail/clamp.hpp>
|
||||
#include <beast/core/detail/config.hpp>
|
||||
#include <beast/http/error.hpp>
|
||||
#include <beast/http/rfc7230.hpp>
|
||||
#include <boost/asio/buffer.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
@@ -178,7 +178,7 @@ loop:
|
||||
return 0;
|
||||
}
|
||||
state_ = state::header;
|
||||
BOOST_FALLTHROUGH;
|
||||
BEAST_FALLTHROUGH;
|
||||
|
||||
case state::header:
|
||||
parse_header(p, n, ec);
|
||||
@@ -191,7 +191,7 @@ loop:
|
||||
if(ec)
|
||||
goto done;
|
||||
state_ = state::body;
|
||||
BOOST_FALLTHROUGH;
|
||||
BEAST_FALLTHROUGH;
|
||||
|
||||
case state::body:
|
||||
parse_body(p, n, ec);
|
||||
@@ -204,7 +204,7 @@ loop:
|
||||
if(ec)
|
||||
goto done;
|
||||
state_ = state::body_to_eof;
|
||||
BOOST_FALLTHROUGH;
|
||||
BEAST_FALLTHROUGH;
|
||||
|
||||
case state::body_to_eof:
|
||||
parse_body_to_eof(p, n, ec);
|
||||
@@ -217,7 +217,7 @@ loop:
|
||||
if(ec)
|
||||
goto done;
|
||||
state_ = state::chunk_header;
|
||||
BOOST_FALLTHROUGH;
|
||||
BEAST_FALLTHROUGH;
|
||||
|
||||
case state::chunk_header:
|
||||
parse_chunk_header(p, n, ec);
|
||||
|
||||
Reference in New Issue
Block a user