Commit Graph
867 Commits
Author SHA1 Message Date
Richard Hodges 393b11be81 Set version to 306 2020-12-01 19:21:42 +01:00
Richard Hodges 822722c6c3 Revert removal of deprecated lowest_layer from test::stream:
This reverts commit 3fb693eda6.
2020-12-01 17:52:53 +01:00
Richard Hodges 60d5745acc Set version to 305 2020-11-20 18:23:13 +01:00
Richard Hodges 7143548860 Set version to 304 2020-11-04 15:24:07 +01:00
Richard Hodges 20951cbbbc Set Version to 303 2020-10-28 14:38:06 +01:00
Giovanni Mascellani 9ce16bccbd Fix typo in copyright headers.
closes #2102
2020-10-26 16:56:18 +01:00
Richard Hodges 855fc23885 Set version to 302 2020-09-13 16:19:27 +02:00
Richard Hodges bea31bfff6 Fix nullptr implicit cast on fields::set()
fixes #2085
2020-09-13 16:19:27 +02:00
Richard Hodges 91d9457ab9 Add Sec-* HTTP headers
fixes #2080
closes #2082
2020-09-07 17:26:34 +02:00
Richard Hodges 7811f4c52f Fix assert when basic_stream used as underlying of ssl::stream with 0-length write
Fixes #2065
Closes #2078
2020-09-03 16:12:40 +02:00
Richard Hodges 4eb7d06d5d Set version to 301 2020-08-28 16:24:38 +02:00
Richard Hodges 9e6822773e Fix erroneous error when HTTP body_limit is none
fixes #2070
closes #2073
2020-08-28 13:26:59 +02:00
Richard Hodges d04ff199bb Fix unreachable code warning with MSVC
fixes #1582
closes #2035
2020-08-28 13:26:23 +02:00
Richard Hodges 982120c73e Fix file open with append_existing flag on posix
fixes #2011
closes #2027
2020-08-28 13:26:22 +02:00
Richard Hodges ccd0f8822a Websocket SSL teardown also tears down underlying TCP
fixes #2023
2020-08-28 13:26:22 +02:00
Richard Hodges bc1fc65d7e Add handler tracking locations to websocket 2020-08-28 13:26:22 +02:00
Richard Hodges 8c21c80f43 Add handler tracking locations to tcp teardown 2020-08-28 13:26:21 +02:00
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 201105e66a Set version to 300
closes #2017
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 11a3b932b2 Set Version to 299
closes #2008
closes #2007
2020-07-07 19:27:59 +02:00
Richard Hodges 03d43aa397 Set Version to 298
closes #1999
2020-07-04 08:22:57 +02:00
Richard Hodges de1e63c597 Fix style errors 2020-07-04 08:12:10 +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 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