Commit Graph
2062 Commits
Author SHA1 Message Date
Richard Hodges 2f6bf76cb4 Eliminate spurious uninitialised variable warning in detect_ssl 2020-08-28 13:26:21 +02:00
Richard Hodges 932db900c3 Add handler tracking locations to flat_stream 2020-08-28 13:26:21 +02:00
Richard Hodges 886ac8b7a0 Add handler tracking locations to detect_ssl 2020-08-28 13:26:21 +02:00
Richard Hodges 4357e8356e Add handler tracking locations to icy_stream 2020-08-28 13:26:21 +02:00
Christopher Kohlhoff 11385141ea Add handler tracking locations to http operations 2020-08-28 13:26:21 +02:00
Christopher Kohlhoff 5641d9498b Add handler tracking locations to basic_stream 2020-08-28 13:26:17 +02:00
Richard Hodges eb789859f5 Add Beast_ENABLE_HANDLER_TRACKING cmake option 2020-08-28 13:25:30 +02:00
Richard Hodges 201105e66a Set version to 300
closes #2017
boost-1.74.0 boost-1.75.0.beta1
2020-07-24 13:59:49 +02:00
Richard Hodges 2efb729c53 Fix compile errors under Clang 3.4
fixes #2030
closes #2031
2020-07-24 13:59:49 +02:00
Richard Hodges 4f913cab63 Fix portability bug in websocket server sync example
fixes #2032
closes #2034
2020-07-24 13:59:46 +02:00
sdarwin b168f6242d additional dockerfiles for testing 2020-07-24 13:38:58 +02:00
sdarwin 28a7a99e75 simplify openssl on windows 2020-07-24 13:38:58 +02:00
sdarwin 3486e9cb18 Dockerfile for windows 2020-07-11 07:19:52 +02:00
Richard Hodges 11a3b932b2 Set Version to 299
closes #2008
closes #2007
boost-1.74.0.beta1
2020-07-07 19:27:59 +02:00
Akira Takahashi 4624dec026 Fix type in release notes 2020-07-07 18:49:38 +02:00
Richard Hodges f036077547 Fix race in http-crawl 2020-07-07 18:49:35 +02:00
Richard Hodges 03d43aa397 Set Version to 298
closes #1999
2020-07-04 08:22:57 +02:00
Richard Hodges a9b5bf343d Examples require tracked 2020-07-04 08:22:57 +02:00
Richard Hodges de1e63c597 Fix style errors 2020-07-04 08:12:10 +02:00
Richard Hodges b84d8ad3d4 Add Linux Docker test matrix 2020-07-04 07:37:16 +02:00
Richard Hodges 81b677e7d3 Update release notes 2020-07-04 07:37:16 +02:00
Richard Hodges 719f1a5505 Fix websocket stream when using net.ts executor type 2020-07-04 07:35:19 +02:00
Richard Hodges 060f59685c Support BOOST_ASIO_NO_TS_EXECUTORS 2020-07-04 07:35:14 +02:00
Richard Hodges 5f1adfbc6d Refactor get_io_context 2020-07-04 07:35:06 +02:00
Christopher Kohlhoff 107b01ad24 Update bind_handler test to use standard executor form 2020-07-04 07:35:01 +02:00
Christopher Kohlhoff ca95101a88 Don't test deprecated hooks 2020-07-04 07:34:54 +02:00
Christopher Kohlhoff 06a0b18b1d Use strand<> rather than legacy executor io_context::strand 2020-07-04 07:34:45 +02:00
Christopher Kohlhoff aef2559c7a Use dispatch/post free functions to be independent of executor concept 2020-07-04 07:34:41 +02:00
Christopher Kohlhoff 55302a3f8f New name for polymorphic executor. Trait for detecting new executors 2020-07-04 07:34:34 +02:00
Christopher Kohlhoff 22f2f5dcf4 Handler invoke and allocation hooks are deprecated 2020-07-04 07:34:21 +02:00
Richard Hodges 6f57e5934c Set version to 297
closes #1973
closes #1981
closes #1974
2020-06-12 18:10:25 +02:00
Richard Hodges 93040ea8cc iless and iequal take part in Heterogeneous Lookup
Fixes #1949
2020-06-12 18:10:23 +02:00
Richard Hodges 14c3d50b57 Deprecate string_param (API Change):
API Changes:

`string_param`, which was previously the argument type when setting field values
has been replaced by `string_view`. Because of this, it is no longer possible to
set message field values directly as integrals.

Users are required to convert numeric arguments to a string type prior to calling
`fields::set` et. al.

Beast provides the non-allocating `to_static_string()` function for this purpose.

To set Content-Length field manually, call `message::content_length`.

fixes #1956
2020-06-12 17:33:20 +02:00
Richard Hodges ae2b699e04 Fix max() compile error
closes #1980
2020-06-12 14:21:11 +02:00
Richard Hodges f25c904d14 Set version to 296
closes #1934, closes #1970
2020-06-03 12:59:57 +02:00
Richard Hodges 0fa658f644 Remove buffers_adapter.hpp (API Change):
API Changes:

The file `core/buffers_adapter.hpp` has been removed along with the deprecated
alias typename `buffers_adapter`. Affected programs should use
`core/buffers_adapator.hpp` and the type `buffers_adaptor`.

refs #1934
2020-06-03 12:59:56 +02:00
Richard Hodges 62b55e6d2d Remove zlib error invalid_code_lenths(sic) (API Change):
API Changes:

The error code enum `invalid_code_lenths` was a synonym of `invalid_code_lengths`.
Affected programs should be modified to use `invalid_code_lengths`.

refs #1934
2020-06-02 19:22:37 +02:00
Richard Hodges cba83c0b42 Remove core/type_traits.hpp (API Change):
API Changes:

The core/type_traits.hpp public header has been removed and along with it
the type trait is_completion_handler. Beast uses the CompletionHandler correctness
checks provided by Asio. In a c++20 environment, these convert to concept checks.
2020-06-02 16:51:19 +02:00
Richard Hodges 92364b8db8 Remove reset function from flat_static_buffer (API Change):
API Changes:

The reset function has been removed from flat_static_buffer. Use the
clear function instead.

refs #1934
2020-06-02 16:05:04 +02:00
Richard Hodges 4fbb0079c3 Remove mutable_data_type from Dyanmic Buffers (API Change):
API Changes:

* Code that depends on mutable_data_type should be refactored to use
  mutable_buffers_type. Classes affected are:
  - buffers_adaptor
  - flat_buffer
  - flat_static_buffer
  - multi_buffer
  - static_buffer

refs #1934
2020-06-02 15:28:54 +02:00
Richard Hodges 3fb693eda6 Remove deprecated lowest_layer from test::stream.
refs #1934
2020-06-02 13:04:23 +02:00
Richard Hodges 60d4b54ec7 Remove handler_pointer (API Change):
API Changes:

handler_ptr has been removed. Users should use net::bind_handler and/or
bind_front_handler instead.

refs #1934
2020-06-02 12:57:43 +02:00
Richard Hodges 840cc8f9d6 Remove websocket::role_type (API Change):
websocket::role_type has been removed. Users should use beast::role_type instead.

refs #1934
2020-06-01 20:07:29 +02:00
Richard Hodges 24d0b1f7bd Remove accept_ex and handshake_ex (API Change):
API Changes:

* The following deprecated functions have been removed:
  - websocket::async_accept_ex
  - websocket::async_handshake_ex
  - websocket::accept_ex
  - websocket::handshake_ex

Programs still using these names should be refactored to use the `decorator` feature and
the remaining handshake and accept functions.

refs #1934
2020-06-01 18:52:39 +02:00
Richard Hodges abd3b88539 Rename to BOOST_BEAST_ALLOW_DEPRECATED (API Change):
API Changes:

The macro BOOST_BEAST_NO_DEPRECATED will no longer be noticed by Beast. The only way to
enable deprecated functionality is now the macro BOOST_BEAST_ALLOW_DEPRECATED which is
undefined by default. That is, all deprecated behaviour is disabled by default.

refs #1934
2020-06-01 18:25:23 +02:00
Richard Hodges 13a928a872 Set version to 295 2020-05-29 20:28:22 +02:00
Richard Hodges 0fdf9cb4df Parser body_limit is optional (API Change):
API Changes:

The signature of basic_parser<>::body_limit(n) has changed. It now accepts an
optional std::uint64_t. The caller may indicate that no body limit is required
by calling body_limit(boost::none). The default limits remain in place in order
to maintain 'safe by default' behaviour.

closes #1897
closes #1965
2020-05-29 20:28:22 +02:00
Richard Hodges d7f1426f34 Fix basic_stream expires_after (API Change):
API Changes:

basic_stream::expires_after used to take a nanosecond duration type argument. This
required users on systems where the steady_clock::duration_type was less accurate
to explicity duration_cast when calling this function, making code non-portable.
The duration type is now that of the embedded steady_clock.

Many thanks to @spdw for noticing this and providing a patch.

fixes #1943
closes #1960
2020-05-29 17:16:32 +02:00
Richard Hodges 73097d3bd3 Fix std::FILE namespace qualification
refs #1944
closes #1962
2020-05-29 16:41:56 +02:00
Richard Hodges adb1419ebd Set version to 294
closes #1957
closes #1945
2020-05-20 15:54:55 +02:00