916dcf8eb3
Remove superfluous log messages from tests
2025-05-23 09:25:48 +03:30
19c38c308a
Replace detail/work_guard.hpp
with net::executor_work_guard
...
In newer versions of Asio, `executor_work_guard<>` can be used even when
`ASIO_NO_TS_EXECUTORS` is defined.
2025-04-27 16:08:05 +03:30
1f3c4089ab
Use handshake_timeout
for closing handshake during read operations
...
Fixes #2999
2025-04-26 21:17:00 +03:30
41c1abb402
Add SSL/TLS Certificate
section to documentation
...
Closes #2910
2025-02-26 18:31:12 +03:30
0451018f25
CMake test targets are prefixed with boost_beast_
...
Closes #2984
2025-02-13 20:09:44 +03:30
684fbfb356
Increase timeout tolerance in ping tests
2025-02-11 12:23:01 +03:30
95386da791
Update websocket idle timer upon receiving a ping message
2025-02-09 18:25:10 +03:30
f9387fda71
websockets: Count pings from server as activity for idle_timeout
...
If the stream is receiving control packets like ping, don't count it as
idle. This means you can enable `timeout_opt.keep_alive_ping` on only
one side to get heartbeat.
Make tests that verify current behaviour.
Update documentation to match changes in PR #2718 .
Addresses issue #2716
2025-02-09 18:25:10 +03:30
84115e5b13
fuzz targets link against header-only library
2024-12-16 10:29:07 +03:30
cc58816ffc
Update GHA CI
2024-12-16 10:29:07 +03:30
bed0e1be3c
Make CMakeLists.txt compatible with version 3.8
...
Make call to target_sources conditional
Replace $<CXX_COMPILER_ID:compiler_ids> expressions with individual ones
2024-11-27 22:55:08 +03:30
bb42991e17
Update GHA matrix
2024-11-26 16:51:00 +03:30
c00cca32a4
Make all compile definitions target-specific
2024-11-25 11:41:40 +03:30
8fe93ba861
CI pipeline for building and testing CMake targets
2024-11-25 11:41:40 +03:30
9c184406ea
Register tests in CMakeLists
2024-11-25 11:41:40 +03:30
827ecf5e93
Organize source files in CMakeLists with source_group
2024-11-25 11:41:40 +03:30
75e45287fb
Refactor CMakeLists
...
Closes #2471
Closes #1816
2024-11-25 11:41:40 +03:30
0886fd891a
Suppress -Wunused-parameter warnings in tests
2024-10-26 15:33:15 +03:30
4ea56c4b39
Fix unreachable code warning in tests
2024-10-26 15:33:15 +03:30
b85b166e34
Enable -Wextra in test/Jamfile
2024-10-26 15:33:15 +03:30
0078272001
Add forward declaration headers
2024-10-17 17:23:08 +03:30
3ddcf4ed38
Jamfile cleanup
2024-09-04 22:37:14 +03:30
21545dbcaf
Make permessage-deflate status queryable in websocket::stream
2024-09-01 17:51:11 +03:30
2bda7870fe
Add support for modular build structure. ( #2905 )
...
* Use beast exclusive valgrind feature.
* Make the library modular usable.
* Switch to library requirements instead of source. As source puts extra source in install targets.
* Add Beast root dir for includes. As some tests refer to files relative to that.
* Replace relative docca refs with project based.
* Avoid mtuliple openssl configurations.
* Always declare openssl. If it's empty and duplicate it will be ignored.
* Add missing import-search for cconfig/predef checks.
* Add requires-b2 check to top-level build file.
* Bump B2 require to 5.2
* Update copyright dates.
* Move inter-lib dependencies to a project variable and into the build targets.
* Update build deps.
* Update build deps.
* The http/client/body example uses the source header from json instead of the linked library.
2024-09-01 11:26:02 +03:30
b1f377b2eb
basic_parser: set state_
before calling on_finish_impl
2024-08-22 00:22:16 +03:30
a620d4175a
basic_parser: apply header_limit_ to trailer headers
2024-08-22 00:22:16 +03:30
f181fbf6e4
basic_parser returns error::header_limit ealier
2024-08-22 00:22:16 +03:30
a9c4a19f26
parser uses basic_fields::insert() with error_code overload
2024-08-22 00:22:16 +03:30
2e6d9bb491
Add overload for basic_fields::insert() to set error_code
2024-08-22 00:22:16 +03:30
fee9be0be1
Fix Wattributes warnings in tests
2024-07-12 19:42:15 +03:30
ee9762eb38
CI runs fuzzers
2024-06-22 20:56:58 +03:30
1b874927c1
Add fuzzing targets
2024-06-21 01:14:20 +03:30
e7f49190ef
Fix basic_fields move assignment
...
Fixes #2517
2024-06-09 18:23:12 +03:30
e55b559ed3
Fix -Wmissing-braces warnings
2024-06-09 18:23:12 +03:30
74d28c030d
Partial writes don't cause bytes_transferred underflow
...
Fixes #2880
2024-06-06 17:58:25 +03:30
767397e0c1
read_size_hint does not exceed read_message_max
...
Fixes #2879
2024-06-06 00:49:08 +03:30
4bff457ef7
Add 418 I'm a teapot HTTP status
2024-06-03 17:59:18 +03:30
146de67f5e
Fix -Wnonnull warnings
2024-06-01 18:54:19 +03:30
da4cdb8a1e
Suppress -Wself-move warnings
2024-06-01 18:54:19 +03:30
a11ea6bc72
Fix -Wattributes warnings
2024-06-01 18:54:19 +03:30
eaaeb8b36b
Fix -Wdangling-reference warnings
2024-06-01 18:54:19 +03:30
b502789d89
Fix -Wunused-function warnings
2024-06-01 18:54:19 +03:30
4089e27357
net::ssl::stream is canonical in snippets
2024-05-31 16:45:52 +03:30
cf72589ae9
Add 'SSL/TLS Shutdown Procedure' section to documentation
...
Closes #2868
2024-05-28 23:39:48 +03:30
2dcdef3890
Handle expired timers in basic_stream transfer_op
...
Previously, the code only handled expired timers when the buffer was empty.
2024-05-13 22:17:17 +03:30
67b615ca29
Add test for partial parsing of the final chunk
2024-05-10 17:28:19 +03:30
c5679e40da
Turn off warnings for building zlib in the unit tests
2024-03-31 18:59:36 +03:30
bcd65c828e
Fix unused parameter warnings in tests
2024-03-31 18:59:36 +03:30
3d2f982255
Fix narrowing conversion warning in zlib tests
2024-03-31 18:59:36 +03:30
3e91357daa
Fix OpenSSL builds in GHA CI
2024-03-28 18:08:52 +03:30