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
Mohammad Nejati
9bf2184b33
Fix error handling in SSL shutdown operations in examples
2024-05-28 23:39:48 +03:30
Mohammad Nejati
0afa15e8cb
Remove macOS-11 from CI matrix
...
GitHub macOS-11 runner image is deprecated
2024-05-21 15:55:09 +03:30
Mohammad Nejati
d425048fe0
Expand CI matrix
2024-05-21 15:55:09 +03:30
Orgad Shaneh
55035d17c5
zlib: Annotate fallthrough case
2024-05-20 13:45:40 +03:30
Mohammad Nejati
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
Mohammad Nejati
95f0cfb926
Expand CI matrix to include msvc-14.3 with C++14 and C++17
2024-05-11 13:20:25 +03:30
Mohammad Nejati
59310dddac
Fix ambiguity in test::basic_stream constructor overloads
2024-05-11 13:20:25 +03:30
Ruslan Zakirov
3461ad1a2b
fix asserts, it's possible that we reach code only with 3 symbols
...
This happens when:
* chunked encoding
* body is empty
* chunk has no extensions
* and put calls are really weird
2024-05-10 17:28:19 +03:30
Mohammad Nejati
67b615ca29
Add test for partial parsing of the final chunk
2024-05-10 17:28:19 +03:30
Mohammad Nejati
9ce8c8581b
Limit the scope of definitions in the top-level Jamfile
2024-05-09 12:26:20 +03:30
Mohammad Nejati
98b8be489f
Exclude Asio executor type traits from docs
boost-1.85.0
2024-04-05 21:29:43 +03:30
Mohammad Nejati
c5679e40da
Turn off warnings for building zlib in the unit tests
2024-03-31 18:59:36 +03:30
Mohammad Nejati
54ad4ba714
Fix dereferenced null pointer warning in test::immediate_executor
2024-03-31 18:59:36 +03:30
Mohammad Nejati
bcd65c828e
Fix unused parameter warnings in tests
2024-03-31 18:59:36 +03:30
Mohammad Nejati
3d2f982255
Fix narrowing conversion warning in zlib tests
2024-03-31 18:59:36 +03:30
Mohammad Nejati
92d68e8cc2
Fix OpenSSL builds in drone.bat
2024-03-28 18:08:52 +03:30
Mohammad Nejati
3e91357daa
Fix OpenSSL builds in GHA CI
2024-03-28 18:08:52 +03:30
Mohammad Nejati
26714aceee
Specialize traits for beast::test::immediate_executor
2024-03-28 18:08:52 +03:30
René Ferdinand Rivera Morell
068f954575
Replace use of context valgrind feature.
...
Declare our own b2 feature for valgrind and adding the BOOST_USE_VALGRIND predef. This avoids dependency ordering problems since Beast doesn't depend on Boost.Context. Which is the lib that defines the other valgrind feature.
This change is needed to avoid build errors for this PR https://github.com/boostorg/boost/pull/854
2024-03-18 10:31:42 +03:30
Mohammad Nejati
c9afa3bbbc
Add release notes for Boost 1.85
2024-03-14 13:08:19 +03:30
yhzx233
9d825d1928
Fix typo in documentation
2024-02-26 16:44:31 +03:30
Johannes Wilde
4abb787b96
Use BUILD_TESTING as the default value for Beast_BUILD_TESTS.
...
This is the variable most other boost libraries use for initial selection of whether to build their tests [or they default to OFF].
To me this makes usage as a third_party, where I don't necessarily want to run all tests with every build, more consistent.
2024-02-25 09:16:19 +03:30