Richard Hodges
f16925f2b5
Fix typo in _experimental::test::basic_stream documentation
2021-11-12 16:49:24 +01:00
Richard Hodges
86629991cb
Set version to 321
2021-11-03 20:53:28 +01:00
Ed Tanous
071b905bc4
Remove test framework's dependency on RTTI:
...
Allow unit tests to compile with rtti=off
This struct is only used to make sure that there are no duplication of
test suites. Move it to a concept that works with RTTI disabled.
Signed-off-by: Ed Tanous <ed@tanous.net >
close #2337
2021-11-03 20:53:28 +01:00
msuvajac
3fd090af3b
Port zlib fix for CVE-2016-9840:
...
Commit ref: https://github.com/madler/zlib/commit/6a043145ca6e9c55184013841a67b2fef87e44c0
Additionally updated lext table to one used in zlib v1.2.11.
close #2314
2021-11-03 19:25:07 +01:00
Hreniuc Cristian-Alexandru
91c0df61d0
Fix reuse of sliding window in WebSocket permessage_deflate:
...
Original commit message:
Use zlib::Flush::sync instead of zlib::Flush::full, for stream compression
https://github.com/boostorg/beast/issues/2313
fixes #2313
closes #2318
2021-11-03 18:46:53 +01:00
Ed Tanous
4235525c6a
Allow test::stream to be used with NORTTI:
...
Currently, the test stream code doesn't compile when both debug builds
(namely assertions) are enabled along with disabling rtti. The current
code directly uses type_id(), which isn't available without rtti.
This commit allows stream.hpp to compile without rtti enabled.
Signed-off-by: Ed Tanous <ed@tanous.net >
close #2331
2021-11-03 16:52:48 +01:00
Richard Hodges
b15a5ff0e4
Set version to 320
...
closes #2309
2021-09-04 06:38:29 +02:00
Richard Hodges
f65dc21335
Fix missing includes:
...
Files:
beast/_experimental/test/detail/stream_state.hpp
refs #2295
2021-09-03 21:02:45 +02:00
Richard Hodges
21cd552399
Update version to 319
2021-08-04 10:56:37 +02:00
Richard Hodges
710cc53331
Set version to 318
...
closes #2255
2021-06-06 19:50:18 +02:00
Richard Hodges
5546086ca9
Remove use of POSIX-only constant
...
fixes #2233
refs #2231
2021-06-06 16:49:21 +02:00
Richard Hodges
30abfdb9f7
Set version to 317
...
closes #2246
2021-05-26 21:23:05 +02:00
Richard Hodges
bccacab917
Set version to 316
...
closes #2239
closes #2237
2021-05-22 18:19:10 +02:00
Richard Hodges
47ea201d6e
Set version to 315
2021-04-18 15:09:10 +02:00
Richard Hodges
83aaefaf72
Set version to 314
2021-04-06 19:24:51 +02:00
Richard Hodges
b7344b0d50
Set version to 313
...
closes #2207
closes #2201
closes #2191
2021-03-29 12:20:49 +02:00
Michael Haubenschild
31a1fb332a
Fix missing check for error code after header is parsed:
...
The missing error check leads to completely ignoring the body limit,
as the body limit is compared to the "Content-Length" header inside
the "finish_header" method.
closes #2201
2021-03-25 15:04:12 +01:00
dmorilha-twilio
8283a7df3f
Fix case where inflated content is larger than out buffer
...
closes #2191
2021-03-25 14:47:10 +01:00
Richard Hodges
50512cb5cd
Set version to 312
...
closes #2202
2021-03-19 00:40:18 +01:00
Richard Hodges
bfc9c71671
Set version to 311
2021-03-16 10:04:12 +01:00
Richard Hodges
1a5aea3d86
Fix MSVC build error
2021-03-15 23:12:00 +01:00
Richard Hodges
f814ce1fd7
Set version to 310.
2021-03-09 10:07:31 +01:00
Richard Hodges
50a5e23e1c
Set version to 309
...
closes #2177
2021-03-03 19:35:33 +01:00
Richard Hodges
670f01f050
No undefined behaviour in parser
...
closes #2172
2021-03-03 19:22:13 +01:00
Richard Hodges
2ab0bd22d9
Set version to 308
2021-03-01 22:34:36 +01:00
KnoerleMan
fc673aa09b
Fix compiler warning in WebSocket async shutdown:
...
Credit: https://github.com/KnoerleMan
closes 2174
2021-03-01 19:50:29 +01:00
Christopher Kohlhoff
760b875c3b
Limit the number of net::async_write instantiations by using a common buffer sequence type
...
closes #2169
2021-03-01 19:50:29 +01:00
Richard Hodges
64d8d8618c
Set version to 307
2020-12-16 21:13:03 +01:00
Richard Hodges
8913a3cd21
Add executor rebind to test::stream
...
closes #2139
2020-12-16 21:11:29 +01:00
Nik Bougalis
33ea793020
Avoid the need for floating point arithmetic
...
closes #2124
2020-12-16 18:31:36 +01:00
Richard Hodges
393b11be81
Set version to 306
2020-12-01 19:21:42 +01:00
Richard Hodges
822722c6c3
Revert removal of deprecated lowest_layer from test::stream:
...
This reverts commit 3fb693eda6 .
2020-12-01 17:52:53 +01:00
Richard Hodges
60d5745acc
Set version to 305
2020-11-20 18:23:13 +01:00
Richard Hodges
7143548860
Set version to 304
2020-11-04 15:24:07 +01:00
Richard Hodges
20951cbbbc
Set Version to 303
2020-10-28 14:38:06 +01:00
Giovanni Mascellani
9ce16bccbd
Fix typo in copyright headers.
...
closes #2102
2020-10-26 16:56:18 +01:00
Richard Hodges
855fc23885
Set version to 302
2020-09-13 16:19:27 +02:00
Richard Hodges
bea31bfff6
Fix nullptr implicit cast on fields::set()
...
fixes #2085
2020-09-13 16:19:27 +02:00
Richard Hodges
91d9457ab9
Add Sec-* HTTP headers
...
fixes #2080
closes #2082
2020-09-07 17:26:34 +02:00
Richard Hodges
7811f4c52f
Fix assert when basic_stream used as underlying of ssl::stream with 0-length write
...
Fixes #2065
Closes #2078
2020-09-03 16:12:40 +02:00
Richard Hodges
4eb7d06d5d
Set version to 301
2020-08-28 16:24:38 +02:00
Richard Hodges
9e6822773e
Fix erroneous error when HTTP body_limit is none
...
fixes #2070
closes #2073
2020-08-28 13:26:59 +02:00
Richard Hodges
d04ff199bb
Fix unreachable code warning with MSVC
...
fixes #1582
closes #2035
2020-08-28 13:26:23 +02:00
Richard Hodges
982120c73e
Fix file open with append_existing flag on posix
...
fixes #2011
closes #2027
2020-08-28 13:26:22 +02:00
Richard Hodges
ccd0f8822a
Websocket SSL teardown also tears down underlying TCP
...
fixes #2023
2020-08-28 13:26:22 +02:00
Richard Hodges
bc1fc65d7e
Add handler tracking locations to websocket
2020-08-28 13:26:22 +02:00
Richard Hodges
8c21c80f43
Add handler tracking locations to tcp teardown
2020-08-28 13:26:21 +02:00
Richard Hodges
2f6bf76cb4
Eliminate spurious uninitialised variable warning in detect_ssl
2020-08-28 13:26:21 +02:00
Richard Hodges
932db900c3
Add handler tracking locations to flat_stream
2020-08-28 13:26:21 +02:00
Richard Hodges
886ac8b7a0
Add handler tracking locations to detect_ssl
2020-08-28 13:26:21 +02:00