Christopher Kohlhoff
19f91bcb32
Tests adopting asio code changes for asio 1.25.0.
2022-11-01 14:45:54 +08:00
Klemens Morgenstern
1fc340713c
beast support default completion & rebind.
...
buffers_generator uses default_completion.
websocket::stream has a rebinding constructor.
ssl_stream has a rebind_executor member.
basic_stream has rebinding constructor.
2022-10-30 00:13:54 +08:00
Klemens
3ebff60b1a
beast support per-op cancellation
...
- websocket supports cancellation.
- Iterating test for ws cancellation.
- Only terminal cancellation is forwarded by default.
- basic_stream supports cancellation.
- supported cancellation is documented.
- http cancellation additions.
- Added cancellation_slot tests to http, utils and saved_handler.
- Added post to write.cpp, to avoid SIGSEV in test.
- Refresher describes cancellation in more detail.
2022-10-27 22:56:19 +08:00
Klemens
3869d472ec
buffer_adaptors uses the correct begin function.
2022-10-14 17:20:15 +08:00
Klemens
9d680df683
buffer_ref allows using beast buffers with asio.
2022-10-14 17:20:15 +08:00
Klemens
606d776ebb
async_read works with dynamic_buffer v2.
2022-10-14 17:20:15 +08:00
Klemens Morgenstern
b0c49748a2
Support expect continue in upgrade.
...
Closes #264 .
2022-10-13 09:26:08 +08:00
Klemens
01dd53d665
Empty header values are allowed & documented.
2022-10-10 14:39:46 +08:00
alandefreitas
bd69638e9d
per-message compression options
...
fix #226 , #227
2022-10-03 09:25:31 +08:00
alandefreitas
5866e50438
Add multiple content length error
...
fix #2468
2022-10-02 20:04:46 +08:00
Richard Hodges
3f7f2572b0
Workaround TSAN CI bug
...
fix #2499
2022-08-16 10:29:27 +02:00
sehe
4f3276fd70
Exclude unused zlib sources from build
...
Recent update zlib-1.2.11->1.2.12 included included a number of source
files in the Bjam/CMake changes that were previously excluded.
This leads to a bunch of C99 violation warnings (implicit function
declarations).
This commit excludes the culprits again, but leaves them actively
commented-out so the same mistake is less likely to happen by accident
in the future.
2022-06-22 15:10:01 -03:00
alandefreitas
0ed09e59d9
Fix zlib warnings
...
fix #2461
2022-06-22 15:06:23 -03:00
alandefreitas
925043e1e8
Update Beast zlib streams
...
fix #2439
2022-06-03 17:45:32 -03:00
JackyYin
ca824f607c
Update zlib from 1.2.11 to 1.2.12
...
fix #2439
Because there is a CVE issue impact zlib before 1.2.12,
update zlib to avoid any related problems.
Please check the link below for detailed CVE information:
https://access.redhat.com/security/cve/CVE-2018-25032
2022-06-03 17:43:42 -03:00
sehe
740879a995
Add http::message_generator
2022-05-21 22:12:13 -07:00
sehe
84e689c447
Add buffers_generator
2022-05-21 22:12:13 -07:00
Vinnie Falco
746c1bb598
silence nodiscard warning in test
2022-05-21 22:12:13 -07:00
Vinnie Falco
6c9e9ea243
Tests are fat binaries
2022-05-21 22:12:13 -07:00
Glen Fernandes
95d9587ea7
Use span from Boost.Core
2022-04-23 00:28:26 -04:00
Glen Fernandes
24275ac0c6
Use static_string from Boost.StaticString
2022-04-17 12:30:52 -04:00
Martijn Otto
6ff7beae48
Add missing include for file_body test
...
close #2391
2022-03-09 16:35:24 +01:00
Richard Hodges
b5a94db2a5
WebSocket handshake response is deterministic on failure:
...
Add test for websocket handshake failure HTTP response
fix #2364
close #2365
2021-12-22 12:00:17 +01:00
Richard Hodges
cf29ecdb63
Fix open append mode for file_win32
2021-12-10 17:22:50 +01:00
Richard Hodges
88d5deec0f
Add tests for file open in append/append_existing mode
2021-12-10 17:15:13 +01:00
Richard Hodges
355dcfe502
Add individual tests to CMake workflow
...
close #2350
2021-12-09 14:27:18 +01: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
sdarwin
a9a09952a2
Update GitHub Actions CI file
...
closes #2301
2021-09-03 21:02:09 +02:00
Richard Hodges
7257d64a21
WebSocket test is deterministic
2021-04-06 19:24:51 +02:00
Richard Hodges
c3e83439dd
Fix incorrect websocket test ordering
2021-03-29 12:17:23 +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
523191d228
Add Github Actions CI
...
closes #2198
2021-03-19 00:40:18 +01:00
Richard Hodges
fae4c0e3c2
Parenthesise all uses of min() and max()
2021-03-16 10:02:47 +01:00
Richard Hodges
8913a3cd21
Add executor rebind to test::stream
...
closes #2139
2020-12-16 21:11:29 +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
7e30dd7d76
Fix C++20 tests for basic_stream
...
fixes #2029
2020-11-04 15:22:05 +01:00
Giovanni Mascellani
9ce16bccbd
Fix typo in copyright headers.
...
closes #2102
2020-10-26 16:56:18 +01: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
9e6822773e
Fix erroneous error when HTTP body_limit is none
...
fixes #2070
closes #2073
2020-08-28 13:26:59 +02:00
Richard Hodges
a9b5bf343d
Examples require tracked
2020-07-04 08:22:57 +02:00
Richard Hodges
de1e63c597
Fix style errors
2020-07-04 08:12:10 +02:00
Richard Hodges
060f59685c
Support BOOST_ASIO_NO_TS_EXECUTORS
2020-07-04 07:35:14 +02:00
Richard Hodges
5f1adfbc6d
Refactor get_io_context
2020-07-04 07:35:06 +02:00
Christopher Kohlhoff
107b01ad24
Update bind_handler test to use standard executor form
2020-07-04 07:35:01 +02:00
Christopher Kohlhoff
ca95101a88
Don't test deprecated hooks
2020-07-04 07:34:54 +02:00
Christopher Kohlhoff
06a0b18b1d
Use strand<> rather than legacy executor io_context::strand
2020-07-04 07:34:45 +02:00
Christopher Kohlhoff
55302a3f8f
New name for polymorphic executor. Trait for detecting new executors
2020-07-04 07:34:34 +02:00