diff --git a/CHANGELOG.md b/CHANGELOG.md index c0f208b6..1e6920fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 -------------------------------------------------------------------------------- diff --git a/include/boost/beast/http/impl/read.ipp b/include/boost/beast/http/impl/read.ipp index 1d465f39..2204ed6c 100644 --- a/include/boost/beast/http/impl/read.ipp +++ b/include/boost/beast/http/impl/read.ipp @@ -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,