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:
Vinnie Falco
2016-05-07 17:06:46 -04:00
parent 2b69831f49
commit 8921da91b8
44 changed files with 1064 additions and 688 deletions

View File

@@ -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.