Commit Graph
1138 Commits
Author SHA1 Message Date
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 7ac24d77be Send idle pings in advanced servers:
fix #899

The timer logic for the advanced-server and advanced-server-flex
examples is refactored to use idle pings when the connection has
not seen activity for some period of time. This demonstrates the
use of the stream's control_callback interface.
2017-11-27 16:44:59 -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
p-kalugin fb0d82245f Fix typo in examples documentation 2017-11-26 09:55:38 -08:00
Vinnie Falco 9d941f2655 Documentation tidying 2017-11-22 10:29:19 -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 d203bf342b Version 124 works with Boost 1.65.1 and earlier
fix #874
2017-11-20 11:52:03 -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 a4a2ee8806 Fix autobahn report link 2017-11-13 12:18:30 -08:00
Vinnie Falco fe39a7c22a Set version to 142 2017-11-11 09:41:13 -08:00
Vinnie Falco c37ce4b15e Fix name typo in http write test 2017-11-11 09:41:06 -08:00
Vinnie Falco afca4cc277 Warn about upcoming API changes to certain concepts 2017-11-11 09:13:05 -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
Miguel Portilla a1db3cab9f Fix UTF8_checker test failures 2017-11-08 19:58:45 -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 fdd02d9ee7 Tidy up some documented constructor syntax 2017-11-03 19:41:34 -07:00
Vinnie Falco 327ebc2007 Add FieldsWriter constructor requirement
fix #864
2017-11-03 19:36:35 -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 14926bfb3f Tidy up message doc image 2017-11-02 15:52:57 -07:00
Vinnie Falco 8ce96d23f8 Set version to 135 2017-11-01 11:31:20 -07:00
Vinnie Falco 12a355efc9 Fix typo in example server help text 2017-11-01 11:31:03 -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