forked from boostorg/beast
Rename to flat_static_buffer and flat_static_buffer_base (API Change):
Actions Required: * Rename static_buffer to flat_static_buffer_base * Rename static_buffer_n to flat_static_buffer
This commit is contained in:
1 parent
1d7d7445d5
commit
94e92e75b7
23 files changed
+140
-117
No files matched your search
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
private:
|
||||
using alloc_t = fields_alloc<char>;
|
||||
using request_body_t = http::basic_dynamic_body<beast::static_buffer_n<1024 * 1024>>;
|
||||
using request_body_t = http::basic_dynamic_body<beast::flat_static_buffer<1024 * 1024>>;
|
||||
|
||||
// The acceptor used to listen for incoming connections.
|
||||
tcp::acceptor& acceptor_;
|
||||
@@ -59,7 +59,7 @@ private:
|
||||
tcp::socket socket_{acceptor_.get_io_service()};
|
||||
|
||||
// The buffer for performing reads
|
||||
beast::static_buffer_n<8192> buffer_;
|
||||
beast::flat_static_buffer<8192> buffer_;
|
||||
|
||||
// The allocator used for the fields in the request and reply.
|
||||
alloc_t alloc_{8192};
|
||||
|
||||
@@ -54,7 +54,7 @@ class multi_con
|
||||
boost::asio::ssl::context& ctx_;
|
||||
|
||||
// Holds the data we read during ssl detection
|
||||
beast::static_buffer_n<6> buffer_;
|
||||
beast::flat_static_buffer<6> buffer_;
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
|
||||
Reference in new issue
Block a user