Mohammad Nejati
ee2b5b2ff9
Replace SSL_set1_host with asio::ssl::host_name_verification
...
`SSL_set1_host` fails when host is an IP address
2025-02-13 20:09:44 +03:30
Mohammad Nejati
ea38d841b0
SSL examples verify peer cert hostname
...
Fixes #2974
2025-02-11 19:43:58 +03:30
Mohammad Nejati
4e384f086b
async_read_some documentation mentions how to identify message completion
...
Closes #2969
2025-02-11 12:41:30 +03:30
Mohammad Nejati
8c3d8a907d
Improve documentation of websocket::stream::async_close
...
Addresses #2730
2025-02-11 12:23:01 +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
8b379d4fb1
Fix out-of-band access issue in iequals function
2024-12-16 10:29:07 +03:30
Mohammad Nejati
cc58816ffc
Update GHA CI
2024-12-16 10:29:07 +03:30
Alexander Grund
718992bf93
Use boost.io node
2024-12-11 17:18:16 +03:30
Mohammad Nejati
33cfc5653c
GHA: Override node20 in old containers
2024-11-27 22:55:08 +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
e55670d0d0
Remove Boost.Scope dependency from examples
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
ce3f2196c4
Remove unused CI configurations and scripts
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
Alexey Romko
a21250d12d
Fixed docs typos
...
Signed-off-by: Alexey Romko <nevilad@yahoo.com >
boost-1.87.0.beta1
boost-1.87.0
2024-11-11 15:45:31 +03:30
Mohammad Nejati
6d66afbd0e
Boost 1.87 release notes
2024-11-05 16:50:36 +03:30
Mohammad Nejati
f42d178249
Version 356
2024-11-05 16:50:36 +03:30
Mohammad Nejati
71cea5c4d9
Fix -Wdeprecated-literal-operator warnings
...
Fixes #2946
2024-11-05 16:50:36 +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
225a25b57c
Update drone.star
2024-10-17 17:23:08 +03:30
Mohammad Nejati
eba476ada6
Update maintainers list
...
Closes boostorg/website-v2#1313
2024-10-17 17:23:08 +03:30
Mohammad Nejati
207737695a
Remove static specifier from clamp functions
...
Fixes #2939
2024-10-17 17:23:08 +03:30
Mohammad Nejati
7ce0ebe47c
Fix warnings in json_client example
2024-09-19 15:27:57 +03:30
Mohammad Nejati
3ddcf4ed38
Jamfile cleanup
2024-09-04 22:37:14 +03:30
Mohammad Nejati
333b5511da
stream_state.ipp: add missing include
2024-09-04 22:37:14 +03:30
Mohammad Nejati
cbcf6cb262
basic_stream: Fix call to net::dispatch
...
Fixes #2925
2024-09-04 19:18:00 +03:30
Saleh Hatefinya
21545dbcaf
Make permessage-deflate status queryable in websocket::stream
2024-09-01 17:51:11 +03:30
Mohammad Nejati
a9121c259b
boost_json links` statically
2024-09-01 12:40:33 +03:30
Mohammad Nejati
6b13fd42f4
CI: fix fuzzer builds
2024-09-01 12:40:33 +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
aefc564fa7
basic_parser: remove skip_ usage
2024-08-22 00:22:16 +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
848e20680f
Fix cancellation in teardown_tcp_op
2024-08-06 15:42:40 +03:30
Mohammad Nejati
5f5507f647
Initiating functions no longer perform mutating operations
...
Using `asio::deferred` as a completion token defers the initiation of
operations and creates a lazy operation which might even be discarded.
We need to move mutating operations to the initiator function objects or
the constructor of operation objects, which are guaranteed to run when
the deferred operation is launched.
2024-08-06 15:42:40 +03:30
Mohammad Nejati
fee9be0be1
Fix Wattributes warnings in tests
boost-1.86.0
2024-07-12 19:42:15 +03:30
Mohammad Nejati
2427765fb3
Fix friend declarations of asio::associator<>
...
`asio::associator<>` has got an extra template parameter that enables
SFINAE-based partial specialization:
https://github.com/chriskohlhoff/asio/commit/4928948a6e607664ee0ab5590544def762a118ad "
boost-1.86.0.beta1
2024-07-10 15:24:59 +03:30