Commit Graph
2391 Commits
Author SHA1 Message Date
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
Mohammad Nejati 075db2fc37 Add Boost.Scope to get-boost.sh boost-1.85.0.beta1 2024-02-22 10:11:30 +03:30
Mohammad Nejati 1f20c4b29c Set version to 353 2024-02-20 18:27:27 +03:30
Mohammad Nejati e42cf8a1e4 Remove BOOST_BEAST_USE_STD_STRING_VIEW deprecation warning
Closes #2594
2024-02-14 21:15:55 +03:30
Mohammad Nejati dc154bc0bd Update host string after SSL_set_tlsext_host_name 2024-02-14 20:03:10 +03:30
Mohammad Nejati 40c22cbfa7 Update documentation for websocket::permessage_deflate
Resolves #962
2024-02-14 11:09:41 +03:30
Mohammad Nejati 7d4da621ac Update bytes_transferred documentation for http reads operations 2024-02-12 18:56:48 +03:30
Mohammad Nejati f8ff44d072 Improve documentation of http::serializer
Resolves #2221
2024-02-09 23:32:58 +03:30
Mohammad Nejati e0a9da265f buffers_adaptor::subrange conforms to concept
Fixes #2459
2024-02-07 00:11:14 +03:30
Mohammad Nejati 25105e476a Update status code list to conform with IANA registry
https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

Resolves #2729
2024-02-06 18:09:48 +03:30
Mohammad Nejati dc8798c917 Fix zlib name conflicts
Fixes #2809
2024-01-31 17:53:19 +03:30
Mohammad Nejati 5f088b72ca Clarify teardown and async_teardown are customization points
Addresses #2479
2024-01-26 12:56:35 +03:30
Mohammad Nejati 3b837c6982 Fix unreachable code warning in buffers_cat.hpp
Fixes #2678
2024-01-22 19:55:56 +03:30