From ca5a70a3cdc87957d4d37781fb289977ad335388 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 12 Jan 2019 17:51:07 -0800 Subject: [PATCH] parse_until is not static fix #1393 --- CHANGELOG.md | 1 + include/boost/beast/http/impl/read.ipp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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,