Commit Graph
1152 Commits
Author SHA1 Message Date
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 eb412ee958 Fix CMakeLists.txt variable 2017-12-04 12:14:11 -08:00
Vinnie Falco c01224ddc4 Tidy up ssl_stream special members
fix #916
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 8a2a4578b6 Merge v144-hf1 2017-12-04 12:09:24 -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 1b86bc3c36 Update reports for hybrid assessment 2017-12-04 12:05:27 -08:00
Vinnie Falco e2b473753b Install codecov on codecov CI targets only 2017-12-04 12:04:55 -08:00
Vinnie Falco d52e829045 Set version to 144-hf1 boost-1.66.0 2017-12-03 12:50:05 -08:00
Vinnie Falco 0d8b79abb5 Install codecov on codecov CI targets only 2017-12-03 12:49:51 -08:00
Vinnie Falco 2f451badc8 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-03 01:13:41 -08:00
Vinnie Falco 1069b4ab22 Update reports for hybrid assessment 2017-12-03 01:13:23 -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 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