Commit Graph

1313 Commits

Author SHA1 Message Date
Vinnie Falco
0b68ed651b
Set version to 277 2019-11-09 03:02:57 -08:00
Vinnie Falco
718aef721a
Set version to 276 2019-11-02 08:30:31 -07:00
AeroStun
d895906bcc
Refactor zlib tests and fix typo:
close #1744

* Fixed typo in enum name
* Added missing zlib error enumerator
* Marked caveat in zlib impl to avoid future confusion
* Created Compressor/Decompressor abstractions in Beast.zlib tests
* Applied abstractions on Beast.zlib tests
* Workaround Travis-CI' 10min silence timeout
* Add test for Beast.zlib's need_dict error
* Avoid breaking user-code dependant on deprecated enumerator interface

Signed-off-by: AeroStun <24841307+AeroStun@users.noreply.github.com>
2019-11-02 08:29:30 -07:00
Cristian Morales Vega
26a156e300 Fix async_close error code when async_read times out
close #1754
2019-11-02 08:26:23 -07:00
Vinnie Falco
bb85859e96
Set version to 275 2019-10-31 06:50:00 -07:00
Vinnie Falco
32bbd38387 Support Concepts for completion token params 2019-10-31 06:47:22 -07:00
Vinnie Falco
9f468ec1c1 Use automatically deduced return types for all async operations:
C++14 or later is required to support completion tokens that use
per-operation return type deduction. For C++11, a completion
token's async_result specialisation must still provide the nested
typedef `return_type`.
2019-10-31 06:47:22 -07:00
Vinnie Falco
d64e5f718c Add basic_stream::rebind_executor 2019-10-31 06:26:12 -07:00
Vinnie Falco
7cc8759261 Async init-fns use the executor's default token 2019-10-31 05:47:05 -07:00
Vinnie Falco
2ccb110dc9
Set version to 274 2019-10-18 05:30:32 -07:00
Peter Jankuliak
1abe92f524 Fix leftovers in basic_parser corner case:
fix #1734, close #1736

buf_.get() has size `buf_len_`, but only `size` number of octets in that
buffer is valid.
2019-10-18 05:30:29 -07:00
Vinnie Falco
cee64b5223
Set version to 273 2019-10-15 15:48:51 -07:00
Vinnie Falco
087bcc4ef5 Use the executor type in basic_stream timer
fix #1589
2019-10-15 15:48:42 -07:00
Vinnie Falco
bafce23853 Squelch spurious websocket timer assert 2019-10-09 12:00:22 -07:00
Vinnie Falco
045dfeb47f
Set version to 272
close #1720
2019-10-07 12:49:20 -07:00
AeroStun
da3b5a664c Fixed null pointer ASAN error introduced in commit d41b7c23
Signed-off-by: AeroStun <24841307+AeroStun@users.noreply.github.com>
2019-10-07 12:47:15 -07:00
Damian Jarek
962f01e1f0 Use memcpy to avoid putting one byte at a time when copying blocks
`memcpy` is likely to be faster than the naive method due to the
possibility of use of vector instructions and copying more than a byte
at a time.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-10-07 12:46:39 -07:00
Damian Jarek
ba42517897 Fix typo in inflate stream doc
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-10-07 12:46:39 -07:00
Damian Jarek
610a2681e4 Throw on invalid argument
This condition is a programmer error, so reporting it as a regular
error is confusing.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-10-07 12:46:39 -07:00
Vinnie Falco
7dbb3bd417 Add BEAST_THROWS 2019-10-06 15:15:54 -07:00
Vinnie Falco
d6bc3da94c
Set version to 271
close #1721, close #1722
2019-10-06 08:06:28 -07:00
Vinnie Falco
0f932d589b Silence unused variables 2019-10-04 18:57:48 -07:00
Vinnie Falco
628e620e0c
Set version to 269 2019-10-04 06:10:23 -07:00
Vinnie Falco
8e7ef7aa0f Fix doc typo 2019-10-03 02:56:55 -07:00
Vinnie Falco
f3118b75de Fix /permissive- missing include
fix #1673
2019-09-27 06:46:02 -07:00
Vinnie Falco
55fd67b874
Set version to 268 2019-09-15 18:02:55 -07:00
Vinnie Falco
b7230f12f1
Set version to 267 2019-08-29 11:01:29 -07:00
Vinnie Falco
c5d8c7b64c Multiple I/O of the same type is not supported
fix #1682
2019-08-29 10:55:47 -07:00
Mike Ellery
e681f9d212 Add default dtors to satisfy -Wnon-virtual-dtor
close #1664
2019-08-29 10:52:07 -07:00
Vinnie Falco
db2f0052ff basic_stream dtor cannot throw
fix #1688
2019-08-28 16:02:31 -07:00
Aurelien Chartier
70f232f6dd Fix signed/unsigned mismatch in file_stdio::seek
fix #1687
2019-08-28 16:02:31 -07:00
Vinnie Falco
6d614cf9a8
Set version to 266 2019-08-12 09:49:10 -07:00
Vinnie Falco
0ca107bb5c
Set version to 265 2019-07-29 10:36:02 -07:00
Vinnie Falco
9f77867f0a Fix outgoing websocket message compression
fix #1666
2019-07-29 10:35:41 -07:00
Damian Jarek
2ed1c92e03
Set version to 264
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-09 11:07:27 -07:00
Vinnie Falco
e3c580e26b Revert "Set version to 264"
This reverts commit 53378ea6fb.
2019-07-09 11:07:17 -07:00
Damian Jarek
53378ea6fb Set version to 264
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-08 20:37:47 +02:00
Damian Jarek
dc6602b5d3 Fix header-only compilation errors in some configurations
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-08 20:28:58 +02:00
Damian Jarek
0b04c82e2b Fix unused variable warning in multi_buffer
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-08 20:28:58 +02:00
Damian Jarek
261193fc9c Remove unused functions in impl/static_string.hpp
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-08 20:28:58 +02:00
Damian Jarek
c1565e1ff7 Fix missing initializer warning in basic_fields
clang complains about missing initializer (even though the field was
properly initialized by the default constructor).

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-08 20:28:58 +02:00
Damian Jarek
63ef7f65bc Handle overflow in max size calculation in basic_dynamic_body
fix #1581

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-08 20:28:49 +02:00
Vinnie Falco
881405a816
Set version to 263 2019-07-07 15:01:48 -07:00
Vinnie Falco
a25bf2af03 Revert "Set version to 262"
This reverts commit 4b5719ec83.
2019-07-07 15:01:27 -07:00
Vinnie Falco
4b5719ec83
Set version to 262 2019-07-07 12:51:00 -07:00
Vinnie Falco
8848ced9ab
Set version to 262 2019-07-03 17:21:36 -07:00
Vinnie Falco
89c922e02b Fix deallocate in multi_buffer 2019-07-03 17:21:19 -07:00
Damian Jarek
ff2c0ca91e
Set version to 261
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-07-01 12:49:07 -07:00
Vinnie Falco
9e0564044f Tidy up buffers_range 2019-07-01 12:49:03 -07:00
Vinnie Falco
ce1c6d3222 Fix multi_buffer allocation alignment 2019-07-01 12:49:03 -07:00