mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 06:25:49 +00:00
Fixes, fail testing:
Core: * Test buffer_cat iterator move members HTTP: * Fixed yield / resume in writer * Fixed message serialization with chunked encoding * Test yield / resume in writer * Test all conditional branches during message serialization * Test chunked encoding * Increase coverage on parse_error * Add parse_error::general WebSocket: * Add error::general * Increase coverage in error
This commit is contained in:
@@ -202,7 +202,7 @@ public:
|
||||
void
|
||||
set_option(read_buffer_size const& o)
|
||||
{
|
||||
stream_.reserve(o.value);
|
||||
stream_.capacity(o.value);
|
||||
}
|
||||
|
||||
/// Set the maximum incoming message size allowed
|
||||
@@ -217,7 +217,7 @@ public:
|
||||
set_option(write_buffer_size const& o)
|
||||
{
|
||||
wr_buf_size_ = std::max<std::size_t>(o.value, 1024);
|
||||
stream_.reserve(o.value);
|
||||
stream_.capacity(o.value);
|
||||
}
|
||||
|
||||
/** Get the io_service associated with the stream.
|
||||
|
||||
Reference in New Issue
Block a user