Vinnie Falco
ed7c095df9
static_buffer::consume improvement
2017-07-20 08:15:32 -07:00
Vinnie Falco
834682e650
Add detail::sum_exceeds
2017-07-20 08:15:32 -07:00
Vinnie Falco
85cd2b125b
Tidy up buffer_front
2017-07-20 08:15:32 -07:00
Vinnie Falco
4e44ddbd45
Add static_buffer (API Change):
...
* static_buffer is added
Note this is the same name from two versions ago, when
static_buffer was renamed to flat_static_buffer for
consistency and to clear the name for a circular static
buffer.
Actions Required:
* Callers who depend on static_buffer returning sequences of
exactly length one should switch to flat_static_buffer.
2017-07-20 08:15:32 -07:00
Vinnie Falco
cee3bff060
Add buffer_front
2017-07-20 08:15:32 -07:00
Vinnie Falco
6fa9a97727
Add flat_static_buffer::mutable_data
2017-07-20 08:15:32 -07:00
Vinnie Falco
94e92e75b7
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
2017-07-20 08:15:31 -07:00
Robert Allan Hennigan Leahy
27d070c724
is_invocable works with move-only types:
...
fix #652
Previously reported that function objects
taking move only types by value were not invocable.
2017-07-20 08:15:31 -07:00
Vinnie Falco
2ea3240ed6
Documentation tidying
2017-07-20 08:15:31 -07:00
Vinnie Falco
4b71aa67e0
Refactor chunked parsing (API Change):
...
* parser now has a callback feature for intercepting chunk headers
and chunk bodies
* The names for basic_parser derived class callbacks have been
refactored
* basic_parser offers an additional callback for distinguishing
chunk body data.
Actions Required:
* Adjust signatures for required members of user-defined
subclasses of basic_parser
* Use the new basic_parser chunk callbacks for accessing
chunk extensions and chunk bodies.
2017-07-20 08:15:31 -07:00
Vinnie Falco
9ecd2a491e
multi_buffer ctor is explicit
2017-07-20 08:15:31 -07:00
Vinnie Falco
78f3cd59a1
better is_final on empty_base_optimization
2017-07-20 08:15:31 -07:00
Vinnie Falco
b18d0d15b0
Pass string_view by value
2017-07-20 08:15:31 -07:00
Vinnie Falco
e9c44030e4
buffers_ref is Assignable
2017-07-20 08:15:31 -07:00
Vinnie Falco
42b81fb3a0
Remove unused file_path
2017-07-20 08:15:30 -07:00
Vinnie Falco
9bfb5374f1
Shrink buffer_prefix_view
2017-07-20 08:15:30 -07:00
Vinnie Falco
b65f0abd50
Javadoc tidying
2017-07-20 08:15:30 -07:00
Vinnie Falco
93ae544f9c
Tidy up file_posix unused variable
2017-07-20 08:15:30 -07:00
Vinnie Falco
83cef67fb4
Header file tidying
2017-07-20 08:15:30 -07:00
Vinnie Falco
37110f2d04
Add span_body
2017-07-20 08:15:30 -07:00
Vinnie Falco
80eb5af584
Add span
2017-07-20 08:15:30 -07:00
Vinnie Falco
eb4a4d41f0
file_posix works without large file support
...
fix #632
2017-07-20 08:15:30 -07:00
Vinnie Falco
cc198db10e
serializing file_body is not const
2017-07-20 08:15:30 -07:00
Vinnie Falco
0324dc371f
Use Boost.Config
2017-07-20 08:15:30 -07:00
Vinnie Falco
5ed1c98037
Doc tidying
2017-07-20 08:15:30 -07:00
octopus-prime
288f363fa6
Using SSE4.2 intrinsics in basic_parser if available
...
fix #622
2017-07-20 08:15:30 -07:00
Vinnie Falco
731164bec2
Add serializer::limit
2017-07-20 08:15:30 -07:00
Vinnie Falco
d750364d6f
Shrink serializer buffers using buffers_ref
2017-07-20 08:15:30 -07:00
Vinnie Falco
8ee911f632
Construct buffer_prefix_view in-place
2017-07-20 08:15:30 -07:00
Vinnie Falco
eec5f1d8b6
Add file_posix
2017-07-20 08:15:30 -07:00
Vinnie Falco
7254cc8976
Add file_win32
2017-07-20 08:15:30 -07:00
Vinnie Falco
ddc3099281
Add file_stdio and File concept
2017-07-20 08:15:30 -07:00
Vinnie Falco
e608acb791
basic_parser optimizations:
...
fix #185 , fix #489
* SSE4.2 is detected
* basic_parser uses SSE4.2 if available
* basic_parser tries to parse on the initial buffer and if
it does not find the end of header it shifts to a new
strategy of waiting for the end of header to defeat
slow loris attacks. This coincidentally is also faster
than the previous algorithm.
2017-07-20 08:15:29 -07:00
octopus-prime
0ab9975751
Fix BEAST_FALLTHROUGH in config
2017-07-20 08:15:29 -07:00
Vinnie Falco
58d42cc803
Use BEAST_FALLTHROUGH to silence warnings
...
fix #545
2017-07-20 08:15:29 -07:00
Vinnie Falco
2d6859831c
Optimize field lookups
2017-07-20 08:15:29 -07:00
Vinnie Falco
64ff766b23
Use string_ref in older Boost versions
...
fix #543
2017-07-20 08:15:29 -07:00
Vinnie Falco
44824a4166
Use boost::string_view
2017-07-20 08:15:28 -07:00
Vinnie Falco
f2e8af23f4
Fix costly potential value-init in parser
2017-07-20 08:15:28 -07:00
Vinnie Falco
f0e32882e2
Make consuming_buffers smaller
2017-07-20 08:15:28 -07:00
Vinnie Falco
518ae23383
string_param optimizations
2017-07-20 08:15:28 -07:00
Vinnie Falco
8f4e7fd0a0
Fix unused variable warnings
2017-07-20 08:15:28 -07:00
Vinnie Falco
31b59f0b0f
Fix narrowing in ostream
2017-07-20 08:15:28 -07:00
Vinnie Falco
ef493d4489
Fix narrowing in static_ostream
2017-07-20 08:15:28 -07:00
Vinnie Falco
b2ab40f09c
Doc tidying
...
fix #521 , fix #524
2017-07-20 08:15:28 -07:00
Vinnie Falco
6d489b4658
Simplify buffered_read_stream composed op
...
fix #358
2017-07-20 08:15:28 -07:00
Vinnie Falco
4d393f4c2a
Clear the error faster
2017-07-20 08:15:27 -07:00
Vinnie Falco
8f627b0748
Fix shadowing warnings
...
fix #510
2017-07-20 08:15:27 -07:00
Vinnie Falco
a26017d695
Use generic_cateogry for errno
2017-07-20 08:15:27 -07:00
Vinnie Falco
cdff15e021
Remove Spirit dependency
2017-07-20 08:15:27 -07:00