make flat_buffer lower.

This commit is contained in:
luocai 2024-01-02 12:10:35 +08:00
parent d0773d8b98
commit 184559e223

View File

@ -34,7 +34,7 @@ public:
private:
boost::beast::tcp_stream m_stream;
boost::beast::flat_buffer m_buffer{std::numeric_limits<std::uint64_t>::max()};
boost::beast::flat_buffer m_buffer{std::numeric_limits<std::uint32_t>::max()};
SharedStatePtr m_state;
std::optional<boost::beast::http::request_parser<boost::beast::http::string_body>> m_parser;
};