535 Commits

Author SHA1 Message Date
07cc9a20bc docs: Remove moved sections 2025-05-23 09:25:48 +03:30
1d8dfae490 Fix a typo in release notes 2025-03-26 15:45:36 +03:30
f1492dd164 Fix link to async_teardown in teardown document
Previously, this link incorrectly pointed to teardown instead of async_teardown.
2025-03-05 08:56:26 +03:30
a2975187f9 Boost 1.88 release notes 2025-02-28 16:38:36 +03:30
e0884660f4 Add examples of Unix domain sockets
Closes #2918
2025-02-28 16:38:36 +03:30
41c1abb402 Add SSL/TLS Certificate section to documentation
Closes #2910
2025-02-26 18:31:12 +03:30
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
a21250d12d Fixed docs typos
Signed-off-by: Alexey Romko <nevilad@yahoo.com>
2024-11-11 15:45:31 +03:30
6d66afbd0e Boost 1.87 release notes 2024-11-05 16:50:36 +03:30
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
29615eac94 Boost 1.86 release notes 2024-07-09 13:21:10 +03:30
9c7777e7f0 ssl_stream and flat_stream are deprecated 2024-05-31 16:45:52 +03:30
cf72589ae9 Add 'SSL/TLS Shutdown Procedure' section to documentation
Closes #2868
2024-05-28 23:39:48 +03:30
c9afa3bbbc Add release notes for Boost 1.85 2024-03-14 13:08:19 +03:30
9d825d1928 Fix typo in documentation 2024-02-26 16:44:31 +03:30
ea424f1da6 Fix the issue of paragraph separation in the documentation
Fixes #2792
2024-01-11 13:11:41 +03:30
192b7d5a43 Fix the link to the http_client_methods.cpp example 2023-12-18 17:26:32 +03:30
d0dd9c5069 Update release notes for Boost 1.84 2023-11-22 09:14:30 +03:30
788e07916c Add release notes for Boost 1.84 2023-11-08 14:34:30 +03:30
3996cae768 allocate & invoke hooks are removed. 2023-10-26 12:33:24 +03:30
45d4f7f306 Replace BOOST_ASIO_INITFN_RESULT_TYPE with BOOST_ASIO_INITFN_AUTO_RESULT_TYPE
asio::deferred doesn't work with BOOST_ASIO_INITFN_RESULT_TYPE
Fixes #2727.
2023-09-05 08:54:08 +03:30
915b80a157 set minimum gcc version to 5.0.
This is due to C++98 support being dropped, so 4.8 fails other libraries C++11 detection.
2023-08-17 12:12:43 +08:00
296317f757 boost 1.83 release notes 2023-06-28 12:33:15 +08:00
ae01f0201d Documentation has less typos.
closes #2679.
2023-05-15 09:18:05 +08:00
99787227cb boost 1.82 release notes. 2023-02-20 14:01:55 +08:00
78c21308fa Doc grammar & reference corrections.
Closes #2578 & #2634.
2023-02-17 13:54:34 +08:00
4ff4c79d5b file_body buffer size can be configured. 2023-02-05 02:57:41 +08:00
99bceb5bff examples & tests use context instead of coroutine. 2023-02-02 23:27:49 +08:00
1841a592d6 Minimalistic method examples. 2023-02-02 15:05:11 +08:00
4f3ba278c6 Fields is not declared deprecated. 2023-02-01 18:00:12 +08:00
947b225c9e No unused function in awaitable examples. (#2605)
* No unused function in awaitable examples.
* Beast has an awaitable-ssl example.

Closes #2604.
2023-01-24 09:55:05 +08:00
4a8ced4b6f boost 1.81 release notes. 2022-11-01 10:29:43 +08:00
09bfca1fa1 awaitable examples.
Closes #2104.
2022-10-30 00:13:54 +08:00
3ebff60b1a beast support per-op cancellation
- websocket supports cancellation.
 - Iterating test for ws cancellation.
 - Only terminal cancellation is forwarded by default.
 - basic_stream supports cancellation.
 - supported cancellation is documented.
 - http cancellation additions.
 - Added cancellation_slot tests to http, utils and saved_handler.
 - Added post to write.cpp, to avoid SIGSEV in test.
 - Refresher describes cancellation in more detail.
2022-10-27 22:56:19 +08:00
2820d256e8 Buffers have a feature table.
Closes #891
2022-10-14 17:20:15 +08:00
9d680df683 buffer_ref allows using beast buffers with asio. 2022-10-14 17:20:15 +08:00
f10c0aae21 api version is documented in the docs
Closes #298
2022-10-11 23:37:26 +08:00
7300ef463b Removed BOOST_BEAST_USE_STD_STRING_VIEW (#2451)
Fixes #2363
2022-10-03 13:29:21 +08:00
12c2d14ebc streaming JSON body is an example 2022-10-03 09:53:05 +08:00
fbcc16301d Fix API reference 2022-10-02 22:34:36 +08:00
eaa51201bd Fix broken links
fix #2333
2022-06-22 15:07:30 -03:00
a634616ebc Release documentation
fix #2466
2022-06-22 15:02:23 -03:00
c2cff2254a Remove mention of Boost Property Tree
Fix #2445

Passing mention in documentation could suggest the more apt new boost library (since
1.75.0)
2022-06-09 00:10:20 +02:00
740879a995 Add http::message_generator 2022-05-21 22:12:13 -07:00
84e689c447 Add buffers_generator 2022-05-21 22:12:13 -07:00
9d23bec2bc Use core string_view
fix #2417

This improves inter-conversion between string_view implementations. Some observable differences for users:
 - core::string_view no longer supports the .to_string() or .clear() extensions from Utility
 - code that relied on .max_size() returning .size(), needs to be fixed to .size() instead
 - remove_suffix() and remove_prefix() were more lenient than the standard specs; be sure you don't rely on it clamping the argument to valid range
 - BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS no longer suppresses conversions to std::string
 - core::string_view adds .contains() and various bugs fixed
2022-05-10 02:47:28 +02:00
e3fa77a4a4 Update release notes for Boost 1.79 2022-03-16 19:23:31 +01:00
8381336074 Fix async_base documentation link
closes #2217
2022-01-11 14:20:07 +01:00
bd5e702c90 Update release notes for Boost 1.78 2021-11-03 21:03:49 +01:00
5cc73b944c Move library-specific docca configuration to Beast
fix #170
close #2336
2021-11-03 16:54:31 +01:00