Vinnie Falco
0e6bd3f043
flat_buffer coverage
2017-06-10 16:00:42 -07:00
Vinnie Falco
3ef0359327
Fix read_size_helper usage:
...
read_size_helper can return zero if the buffer reaches
its maximum size, causing infinite loops in HTTP. The
function maybe_read_size_helper is provided to throw
an exception instead of returning a value for this case.
2017-06-10 13:15:17 -07:00
Vinnie Falco
4c6735afe4
flat_buffer is an AllocatorAwareContainer
...
fix #453
2017-06-09 19:56:00 -07:00
Vinnie Falco
1b1daa7b29
Tidy up read_size_helper and dynamic buffers
...
fix #376
2017-05-24 12:36:07 -07:00
Vinnie Falco
2bf515069d
Harmonize concepts and identifiers with net-ts (API Change):
...
fix #321
This synchronizes identifier names and some implementation details
with the Networking-TS document and reference implementation.
The following interfaces have changed:
* async_completion
* is_buffer_sequence (removed)
* is_const_buffer_sequence (was is_ConstBufferSequence)
* is_dynamic_buffer (was is_DynamicBuffer)
* is_mutable_buffer_sequence (was is_MutableBufferSequence)
* async_result (new)
* BEAST_HANDLER_TYPE macro (new)
* BEAST_INITFN_RESULT_TYPE macro (new)
Filename changes:
* async_result.hpp (was async_completion.hpp)
2017-05-09 07:23:09 -07:00
Vinnie Falco
24b66864d8
Rename to flat_buffer, basic_flat_buffer (API Change):
...
These classes are renamed:
* flat_streambuf to flat_buffer
* basic_flat_streambuf to basic_flat_buffer
2017-05-09 07:23:08 -07:00