Mohammad Nejati
67106ebaab
Add tests for saved_handler when cancellation_slot::emplace throws
2025-11-14 00:45:11 +03:30
Mohammad Nejati
e085c528a8
Remove dependency on Boost.Preprocessor
...
Closes #3050
2025-10-24 13:25:21 +03:30
Mohammad Nejati
b687af73c3
replace BOOST_STATIC_ASSERT with BOOST_CORE_STATIC_ASSERT
...
Closes #3048
2025-10-24 13:25:21 +03:30
Mohammad Nejati
63f3d3f393
parser rejects non-standard trailer fields by default
2025-10-16 15:32:39 +03:30
Mohammad Nejati
7f5b093bd0
basic_parser uses a dedicated callback for trailer fields
2025-10-16 15:32:39 +03:30
Mohammad Nejati
94cbb0339a
field constants are updated
2025-10-16 15:32:39 +03:30
dvtate
72dc439584
Add basic_fields::contains member function
2025-10-12 12:08:36 +03:30
Mohammad Nejati
33411d58ba
buffer_body ignores empty chunks
...
Fixes #3032
2025-10-10 15:29:51 +03:30
Mohammad Nejati
97d6ddb730
Fix allocator move/copy assignment in flat_buffer and multi_buffer
...
Fixes #3034
2025-10-03 22:11:12 +03:30
Mohammad Nejati
164db4bc57
Fix websocket permessage-deflate error on partial message consumption
...
fixes #3028
2025-09-04 08:15:23 +03:30
Mohammad Nejati
294ef9443b
bump extern zlib version
2025-09-04 08:15:23 +03:30
Mohammad Nejati
03f0ff33cd
Updade build.yml
2025-07-08 18:03:42 +03:30
Mohammad Nejati
16f94633b1
Fix portability issues for building tests in MinGW
2025-07-08 18:03:42 +03:30
Mohammad Nejati
916dcf8eb3
Remove superfluous log messages from tests
2025-05-23 09:25:48 +03:30
Mohammad Nejati
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
Mohammad Nejati
1f3c4089ab
Use handshake_timeout for closing handshake during read operations
...
Fixes #2999
2025-04-26 21:17:00 +03:30
Mohammad Nejati
41c1abb402
Add SSL/TLS Certificate section to documentation
...
Closes #2910
2025-02-26 18:31:12 +03:30
Mohammad Nejati
0451018f25
CMake test targets are prefixed with boost_beast_
...
Closes #2984
2025-02-13 20:09:44 +03:30
Mohammad Nejati
684fbfb356
Increase timeout tolerance in ping tests
2025-02-11 12:23:01 +03:30
Mohammad Nejati
95386da791
Update websocket idle timer upon receiving a ping message
2025-02-09 18:25:10 +03:30
Morten Minde Neergaard
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
Mohammad Nejati
84115e5b13
fuzz targets link against header-only library
2024-12-16 10:29:07 +03:30
Mohammad Nejati
cc58816ffc
Update GHA CI
2024-12-16 10:29:07 +03:30
Mohammad Nejati
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
Mohammad Nejati
bb42991e17
Update GHA matrix
2024-11-26 16:51:00 +03:30
Mohammad Nejati
c00cca32a4
Make all compile definitions target-specific
2024-11-25 11:41:40 +03:30
Mohammad Nejati
8fe93ba861
CI pipeline for building and testing CMake targets
2024-11-25 11:41:40 +03:30
Mohammad Nejati
9c184406ea
Register tests in CMakeLists
2024-11-25 11:41:40 +03:30
Mohammad Nejati
827ecf5e93
Organize source files in CMakeLists with source_group
2024-11-25 11:41:40 +03:30
Mohammad Nejati
75e45287fb
Refactor CMakeLists
...
Closes #2471
Closes #1816
2024-11-25 11:41:40 +03:30
Mohammad Nejati
0886fd891a
Suppress -Wunused-parameter warnings in tests
2024-10-26 15:33:15 +03:30
Mohammad Nejati
4ea56c4b39
Fix unreachable code warning in tests
2024-10-26 15:33:15 +03:30
Mohammad Nejati
b85b166e34
Enable -Wextra in test/Jamfile
2024-10-26 15:33:15 +03:30
Mohammad Nejati
0078272001
Add forward declaration headers
2024-10-17 17:23:08 +03:30
Mohammad Nejati
3ddcf4ed38
Jamfile cleanup
2024-09-04 22:37:14 +03:30
Saleh Hatefinya
21545dbcaf
Make permessage-deflate status queryable in websocket::stream
2024-09-01 17:51:11 +03:30
René Ferdinand Rivera Morell
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
Mohammad Nejati
b1f377b2eb
basic_parser: set state_ before calling on_finish_impl
2024-08-22 00:22:16 +03:30
Mohammad Nejati
a620d4175a
basic_parser: apply header_limit_ to trailer headers
2024-08-22 00:22:16 +03:30
Mohammad Nejati
f181fbf6e4
basic_parser returns error::header_limit ealier
2024-08-22 00:22:16 +03:30
Mohammad Nejati
a9c4a19f26
parser uses basic_fields::insert() with error_code overload
2024-08-22 00:22:16 +03:30
Mohammad Nejati
2e6d9bb491
Add overload for basic_fields::insert() to set error_code
2024-08-22 00:22:16 +03:30
Mohammad Nejati
fee9be0be1
Fix Wattributes warnings in tests
2024-07-12 19:42:15 +03:30
Mohammad Nejati
ee9762eb38
CI runs fuzzers
2024-06-22 20:56:58 +03:30
Mikhail Khachayants
1b874927c1
Add fuzzing targets
2024-06-21 01:14:20 +03:30
Mohammad Nejati
e7f49190ef
Fix basic_fields move assignment
...
Fixes #2517
2024-06-09 18:23:12 +03:30
Mohammad Nejati
e55b559ed3
Fix -Wmissing-braces warnings
2024-06-09 18:23:12 +03:30
Mohammad Nejati
74d28c030d
Partial writes don't cause bytes_transferred underflow
...
Fixes #2880
2024-06-06 17:58:25 +03:30
Mohammad Nejati
767397e0c1
read_size_hint does not exceed read_message_max
...
Fixes #2879
2024-06-06 00:49:08 +03:30
Alexander Kernozhitsky
4bff457ef7
Add 418 I'm a teapot HTTP status
2024-06-03 17:59:18 +03:30