Commit Graph

2525 Commits

Author SHA1 Message Date
Mohammad Nejati 192b7d5a43 Fix the link to the http_client_methods.cpp example 2023-12-18 17:26:32 +03:30
Mohammad Nejati d0dd9c5069 Update release notes for Boost 1.84 boost-1.84.0 2023-11-22 09:14:30 +03:30
Mohammad Nejati 5886653683 Set version to 351 2023-11-22 09:14:02 +03:30
Mohammad Nejati dd3f692e7d Use the explicit type std::size_t when completing the transfer_op
Fixes #2766
2023-11-15 12:09:23 +03:30
Mohammad Nejati 788e07916c Add release notes for Boost 1.84 boost-1.84.0.beta1 2023-11-08 14:34:30 +03:30
Mohammad 49ec654b5f Set version to 350 2023-10-31 19:29:23 +03:30
Mohammad 667e9ea251 Remove detail::bind_default_executor helper 2023-10-26 15:36:30 +03:30
Klemens Morgenstern 3996cae768 allocate & invoke hooks are removed. 2023-10-26 12:33:24 +03:30
Mohammad a7927988ea Update documentation for websocket::stream::async_write_some
Closes #2755
2023-10-26 08:56:59 +03:30
Fernando Pelliccioni 19976ff016 Set version to 349. 2023-10-13 10:52:15 +02:00
Klemens Morgenstern dd875463ff immediate_executor is supported. (#2672) 2023-10-13 05:33:23 -03:00
Shukant Pal 177a1222a6 Fix typo in documentation 2023-10-12 13:39:36 +08:00
Mohammad 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
Klemens Morgenstern 35d533299c work_guard has license info. 2023-08-18 18:46:28 +08:00
Klemens Morgenstern 2952b670d8 Handler requirements of ping/pong are correct.
Closes #2713
2023-08-18 18:45:39 +08:00
Sam Darwin 668dcf51c1 Drone caching (#2655)
Co-authored-by: Klemens Morgenstern <klemens.d.morgenstern@gmail.com>
2023-08-18 15:23:02 +08:00
Klemens Morgenstern ba25a117a7 server-flex-awaitable example resets parser.
Closes #2715.
2023-08-18 11:40:20 +08:00
Klemens Morgenstern 902df30f10 openssl is set to 1.1.1.2100 for x86
At the moment 3.1.1 can only be installed on x64.
2023-08-18 08:27:59 +08:00
Klemens Morgenstern 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
sdarwin b0f6f9c39c Self-hosted github actions runners 2023-08-14 18:08:23 +08:00
Klemens Morgenstern f9433d22d0 Set version to 348. 2023-06-28 12:35:52 +08:00
Klemens Morgenstern 296317f757 boost 1.83 release notes 2023-06-28 12:33:15 +08:00
Klemens Morgenstern af5240f6f1 cancel test allows reset connection in tests. 2023-06-23 09:49:54 +08:00
Klemens Morgenstern 099dcb58e8 disabled asan - clang ubasan checks, too. 2023-06-23 09:49:54 +08:00
Klemens Morgenstern a4a90af541 all asan uses ucontext. 2023-06-23 09:49:54 +08:00
Klemens Morgenstern edf11b77fd gh action runs in the correct path. 2023-06-23 09:49:54 +08:00
Klemens Morgenstern c9874bfd60 jamfile uses openssl.jam 2023-06-23 09:49:54 +08:00
Klemens Morgenstern 19d5992def drone.bat actually runs the tests. 2023-06-23 09:49:54 +08:00
Klemens Morgenstern 72c2eeb398 ssl_stream doesn't use BOOST_BEAST_ASYNC_TPARAM1 due to clang errors.
Closes #2661
2023-06-20 10:40:20 +08:00
Klemens Morgenstern ae01f0201d Documentation has less typos.
closes #2679.
2023-05-15 09:18:05 +08:00
Ed Catmur a23e24ffee Reimplement (C++23) deprecated std::aligned_storage (#2680)
Use boost::aligned_storage instead of std::.

The latter is deprecated in C++23.

---------

Co-authored-by: Ed Catmur <edward.catmur@mavensecurities.com>
2023-05-15 09:03:10 +08:00
Edward Nolan cd6b79db5a headers using std::int8_t et al. include <csdint>. 2023-05-15 08:49:53 +08:00
Michiel De Witte a4718ee87b change upgrade to Upgrade as connection header value 2023-05-12 18:46:55 +08:00
slowriot fd18cfa242 Remove unused failure reporting code 2023-05-12 18:46:36 +08:00
Klemens Morgenstern e65aff42f5 msvc scripts work again. 2023-05-12 14:08:47 +08:00
Klemens Morgenstern 7625ec7531 OSX ASan uses ucontext. 2023-05-12 13:10:53 +08:00
Vinnie Falco c316c6bd35 Merge branch 'develop' boost-1.83.0.beta1 boost-1.83.0 2023-05-10 16:42:41 -07:00
Klemens Morgenstern 42b6387ae4 Fixes for MSVC 2022 issues.
Closes #2653.
boost-1.82.0
2023-03-22 16:11:06 +08:00
Klemens 0e5cf9ff79 awaitable-ssl example belongs to right directory
Closes #2654
2023-03-22 16:11:06 +08:00
Klemens Morgenstern b0996f099a Fixes for MSVC 2022 issues.
Closes #2653.
2023-03-21 22:39:14 +08:00
Klemens 685722c505 awaitable-ssl example belongs to right directory
Closes #2654
2023-03-21 22:39:14 +08:00
Klemens Morgenstern 3dddb5fecf Set version to 347. boost-1.82.0.beta1 2023-02-20 14:06:17 +08:00
Klemens Morgenstern 99787227cb boost 1.82 release notes. 2023-02-20 14:01:55 +08:00
Klemens Morgenstern 2bd65b27e1 awaitable server close fix.
Closes #2637
2023-02-20 13:58:07 +08:00
Klemens Morgenstern 78c21308fa Doc grammar & reference corrections.
Closes #2578 & #2634.
2023-02-17 13:54:34 +08:00
Edward Nolan 8dc6daa507 Address bind_handler ambiguous overload error when boost/bind/std_placeholders.hpp is included (#2638)
* Address bind_handler ambiguous overload error when boost/bind/std_placeholders.hpp is included

Previously, the implementation of bind_handler made the assumption
that the trait boost::is_placeholder would be false for types
corresponding to values in the std::placeholders namespace.

However, boost/bind commit c85b31e3d200dda2a73cf0027a82c6d8e29066f8,
`Support use of standard placeholders with boost::bind`, added a new
header, boost/bind/std_placeholders.hpp, which adds specializations to
 boost::is_placeholder for std::placeholders types.

When this header is included before a use of boost::bind_handler, it
results in compiler errors like the following, due to an internal
helper function having overloads for
enable_if<boost::is_placeholder...> and
enable_if<std::is_placeholder...>, which were previously assumed to be
mutually exclusive, but for which both conditions now are true:

../../../boost/beast/core/detail/bind_handler.hpp:126:18: error: call of overloaded 'extract(std::_Placeholder<1>, boost::beast::detail::tuple<int&&>)' is ambiguous
  126 |         h(extract(detail::get<S>(std::move(args)),
      |           ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  127 |             std::forward<ValsTuple>(vals))...);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This header is included in boost/bind/bind.hpp, and is transitively
included by headers in many boost libraries including:

algorithm
asio
atomic
graph
msm
multi_index
property_tree
ptr_container
python
signals2
test
thread

Making it possible that an include from one of these libraries will
randomly cause bind_handler to fail to compile.

This change addresses the issue by eliminating one of the ambiguous
overloads and ensuring that boost/bind/std_placeholders.hpp is
included in the bind_handler implementation file, so that the
enable_if<boost::is_placeholder...> overload can handle both
boost::placeholders and std::placeholders values. It also explicitly
adds a boost/bind/std_placeholders.hpp include to the bind_handler
unit test to prevent this issue from regressing.

* Address boost/bind/std_placeholders.hpp feature guards

boost/bind/std_placeholders.hpp has the following feature guards:

if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) && !defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)

If this check fails, it will not detect std::placeholders values as
placeholders, making the previous solution fail.

This update restores the std::is_placeholder overload and adjusts the
SFINAE for the boost::is_placeholder overload so that it triggers only
if std::is_placeholder is false, making bind_handler work regardless
of whether std_placeholders.hpp's feature guard applies.

---------

Co-authored-by: Edward Nolan <enolan@maystreet.com>
2023-02-17 13:50:04 +08:00
Klemens Morgenstern 341ac7591b Set version to 346. 2023-02-06 04:22:37 +08:00
Klemens 1d965752b2 beast file_body & file support seek.
win32 file_body handles seek correctly.
Added seek to win32 file.
file_body_writer handles offsets.
2023-02-05 02:57:41 +08:00
Klemens 4ff4c79d5b file_body buffer size can be configured. 2023-02-05 02:57:41 +08:00
Klemens 99bceb5bff examples & tests use context instead of coroutine. 2023-02-02 23:27:49 +08:00