Damian Jarek
200e898f7e
Don't copy completion handlers:
...
All asynchronous operations will now be able to use move-only
CompletionHandlers.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2017-12-04 12:14:40 -08:00
Vinnie Falco
3361df142c
pausation always allocates
2017-12-04 12:14:39 -08:00
Vinnie Falco
eb0cc97e1a
Protect calls from macros
...
fix #918
2017-12-04 12:14:11 -08:00
Vinnie Falco
13b9d1bd92
built-in r-value return values can't be assigned:
...
This fixes the following warning:
warning: ‘const’ type qualifier on return type has no effect [-Wignored-qualifiers]
2017-12-04 12:14:09 -08:00
Vinnie Falco
8414dbf73b
Set version to 148
2017-12-04 12:10:36 -08:00
Vinnie Falco
4053c1bb09
Handle invalid deflate frames:
...
This fixes a problem where an assert is generated or an
error is ignored when an invalid deflate stream is produced
after appending the final empty deflate block.
2017-12-04 12:05:36 -08:00
Vinnie Falco
bfd4378c13
Set version to 147
2017-11-28 04:51:26 -08:00
Damian Jarek
190d20e3a8
Tidy up basic_fields exception specifiers
...
fix #894
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2017-11-28 04:51:18 -08:00
Vinnie Falco
8181851719
control callback is copied or moved:
...
The function stream::control_callback now copies or moves
the callback. In some cases this may require a dynamic
allocation.
To avoid the possibility of a dynamic allocation, callers
may wrap their callback using `std::ref` before setting it.
2017-11-27 15:05:58 -08:00
Vinnie Falco
ab91844039
Use iterator wrapper in detail::buffers_range
...
fix #907
2017-11-26 14:18:21 -08:00
Vinnie Falco
8c73c0d300
Don't use boost::string_ref
2017-11-26 14:01:49 -08:00
Vinnie Falco
5d83c79be4
Set version to 146
2017-11-26 12:19:01 -08:00
Vinnie Falco
b59d0a5cd5
Use variant in buffers_cat_view
2017-11-26 12:18:53 -08:00
Damian Jarek
332c2fe0cb
Add detail::aligned_union and tidy up
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2017-11-26 12:18:53 -08:00
Vinnie Falco
59107701d2
Remove unintended public members of handler_ptr
2017-11-21 15:03:47 -08:00
Vinnie Falco
639266fd64
Faster ascii_tolower
2017-11-21 15:03:43 -08:00
zerotypos-found
99bf3f5556
Fix some typos
2017-11-21 08:11:20 -08:00
Vinnie Falco
6e6e1f6fbc
Set version to 145
2017-11-20 12:30:59 -08:00
Vinnie Falco
25c5f2e844
basic_fields does not support fancy pointers
...
fix #896
2017-11-20 12:12:06 -08:00
Vinnie Falco
110a0d52e2
null_buffers is deprecated
2017-11-20 11:48:57 -08:00
Vinnie Falco
75fcea69ee
Refactor HTTP async read composed operations
...
fix #810
2017-11-18 19:47:35 -08:00
Vinnie Falco
5ae15432b8
Refactor basic_fields allocator internals:
...
fix #857
* Use empty base optimization to store the allocator
* Rebind to a smaller aligned type to reduce waste
2017-11-18 18:14:15 -08:00
Vinnie Falco
a55e67b94f
Rename some detail functions
2017-11-18 18:14:14 -08:00
Vinnie Falco
a98895bc24
Set version to 144
2017-11-18 18:07:10 -08:00
Vinnie Falco
73eba08cf4
Fix websocket permessage-deflate negotiation
2017-11-18 18:06:56 -08:00
Vinnie Falco
5e2514f44a
Set version to 143
2017-11-13 12:18:47 -08:00
Vinnie Falco
fe39a7c22a
Set version to 142
2017-11-11 09:41:13 -08:00
Vinnie Falco
082767adfc
Set version to 141
2017-11-10 16:41:53 -08:00
Vinnie Falco
99d6d35c62
Tidy up some documentation
...
fix #880 , fix #881
2017-11-10 16:41:14 -08:00
Vinnie Falco
e2d9b0dffd
Set version to 140
2017-11-08 20:13:12 -08:00
Vinnie Falco
ff2dc67afa
Some basic_fields special members are protected
2017-11-08 20:13:09 -08:00
Damian Jarek
0f7670b7e0
Tidy up basic_parser:
...
- Add const qualifiers.
- Fix parser conversion constructor not copying header_limit_ and status_ fields.
- Use default special member functions when possible.
- Zero-initialize non-class members.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2017-11-08 20:13:09 -08:00
Casey Bodley
f96785df4f
Fix signature for async_read_some, and tests
...
Signed-off-by: Casey Bodley <cbodley@redhat.com >
2017-11-08 19:58:46 -08:00
Vinnie Falco
2ed1d9affb
Fix some integer warnings in 64-bit builds
2017-11-07 07:10:31 -08:00
Vinnie Falco
6eba0e8f9e
Set version to 139
2017-11-05 13:03:32 -08:00
Sergey M․
8e75ed26d1
Revisit boost library min/max guidance
...
refs #170
2017-11-05 13:03:09 -08:00
Vinnie Falco
babb6bd59f
Set version to 138
2017-11-05 09:29:56 -08:00
Vinnie Falco
120617f438
Tidy up some documentation
2017-11-05 09:29:33 -08:00
Vinnie Falco
e8e340d098
Set version to 137
2017-11-03 19:41:45 -07:00
Vinnie Falco
d9d2b23b57
ConstBufferSequence mandates pointer equivalence
...
fix #865
2017-11-03 19:34:30 -07:00
Vinnie Falco
56f0b63e4d
Set version to 136
2017-11-02 15:53:14 -07:00
Vinnie Falco
8ce96d23f8
Set version to 135
2017-11-01 11:31:20 -07:00
Vinnie Falco
1e8c31913d
Set version to 134
2017-11-01 10:39:29 -07:00
Vinnie Falco
5a35a33905
Add static_buffer_base default constructor definition
...
fix #862
2017-11-01 10:39:01 -07:00
Vinnie Falco
d45edddd04
Set version to 133
2017-10-31 14:44:21 -07:00
Vinnie Falco
5177d729a7
Remove const&& overload of message::body
2017-10-31 14:43:10 -07:00
Vinnie Falco
e89814ff4a
Set version to 132
2017-10-30 18:51:20 -07:00
Vinnie Falco
895c9fa7ed
BodyReader and BodyWriter names are swapped (API Change):
...
Body::reader and Body::writer meanings are reversed, for
consistency with the names of the stream operations:
* Body::reader is used for read, read_some, async_read, async_read_some
* Body::writer is used for write, write_some, async_write, async_write_some
Actions Required:
* Swap the reader and writer names for user defined Body types
* Swap use of is_body_reader and is_body_writer
2017-10-30 18:13:40 -07:00
Vinnie Falco
101023553e
Fields::writer replaces Fields::reader (API Change):
...
* Fields::writer replaces Fields::reader
* The FieldsWriter concept is renamed from FieldsReader
Actions Required:
* Rename reader to writer for user defined Fields
2017-10-30 17:53:59 -07:00
Vinnie Falco
23bf8638ab
Add ref-qualified overloads for message::body
2017-10-30 15:23:43 -07:00