Commit Graph

2425 Commits

Author SHA1 Message Date
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
Mohammad Nejati 29615eac94 Boost 1.86 release notes 2024-07-09 13:21:10 +03:30
Mohammad Nejati ef10d6eba2 Version 355 2024-07-08 12:13:16 +03:30
Mohammad Nejati 375b0b5ee8 server-flex-awaitable: connections get their own strand 2024-07-08 12:13:16 +03:30
Mohammad Nejati ff5672ec07 awaitable examples are simplified
No need for `rebind_executor` as `asio::deferred` is now the default completion token.
2024-07-07 14:58:49 +03:30
Mohammad Nejati aabd5b51d3 net::prepend is replaced with net::append 2024-07-07 14:58:49 +03:30
Mohammad Nejati dadd1bc785 fix narrowing conversion in read_size_hint_db() 2024-07-07 14:58:49 +03:30
Mohammad Nejati 6978e37b63 CI: cancel currently running workflows on new commits 2024-07-07 14:58:49 +03:30
Mohammad Nejati a3a800b2e3 CI: workaround for missing Node 20 in older containers
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
2024-07-04 19:49:41 +03:30
Mohammad Nejati 75812db90a get_executor() works on initiation objects
This is required for the new `asio::cancel_at` and `asio::cancel_after`
completion token adapters to work.
2024-07-04 19:49:41 +03:30
Christopher Kohlhoff 1a2b85b7a4 Fix overloads that are ambiguous when using default completion tokens 2024-06-27 16:33:10 +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 b5d7c9998b Version 354 2024-06-06 18:00:54 +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
Mohammad Nejati 146de67f5e Fix -Wnonnull warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati 8da9a776ff Suppress -Wnoexcept-type warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati da4cdb8a1e Suppress -Wself-move warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati a11ea6bc72 Fix -Wattributes warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati eaaeb8b36b Fix -Wdangling-reference warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati b502789d89 Fix -Wunused-function warnings 2024-06-01 18:54:19 +03:30
Mohammad Nejati 9c7777e7f0 ssl_stream and flat_stream are deprecated 2024-05-31 16:45:52 +03:30
Mohammad Nejati 4089e27357 net::ssl::stream is canonical in snippets 2024-05-31 16:45:52 +03:30
Mohammad Nejati 03b792faac net::ssl::stream is canonical in examples
We no longer need to use beast::ssl_stream to improve write performance, as
Asio now linearizes scatter/gather I/O in ssl::stream:
https://github.com/chriskohlhoff/asio/commit/17637a48ccbfa2f63941d8393a7c8316a8df4a79
2024-05-31 16:45:52 +03:30
Mohammad Nejati bd804b6520 ssl_stream does not use flat_stream
We no longer need to use flat_stream to improve write performance, as
Asio now linearizes scatter/gather I/O in ssl::stream:
https://github.com/chriskohlhoff/asio/commit/17637a48ccbfa2f63941d8393a7c8316a8df4a79
2024-05-31 16:45:52 +03:30
Mohammad Nejati 6dd3cf7ab1 std::bind is superfluous in some examples 2024-05-31 16:45:52 +03:30
Mohammad Nejati cf72589ae9 Add 'SSL/TLS Shutdown Procedure' section to documentation
Closes #2868
2024-05-28 23:39:48 +03:30