parse_until is not static

fix #1393
This commit is contained in:
Vinnie Falco
2019-01-12 17:51:07 -08:00
parent b337abe076
commit ca5a70a3cd
2 changed files with 2 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ Version 203
* Use new saved_handler in websocket
* session_alloc is thread-safe
* examples use flat_buffer
* parse_until is not static
--------------------------------------------------------------------------------

View File

@@ -26,13 +26,12 @@ namespace http {
namespace detail {
// The default maximum number of bytes to transfer in a single operation.
static std::size_t constexpr default_max_transfer_size = 65536;
std::size_t constexpr default_max_transfer_size = 65536;
template<
class DynamicBuffer,
bool isRequest, class Derived,
class Condition>
static
std::size_t
parse_until(
DynamicBuffer& buffer,