Files
beast/CHANGELOG.md

4209 lines
110 KiB
Markdown
Raw Permalink Normal View History

2025-02-28 07:41:47 +00:00
Version 357:
* Added new examples for Unix domain sockets
* Added SSL/TLS Certificate section to documentation
* Updated SSL examples to verify peer certificate hostname
* Improved documentation of `websocket::stream::async_close`
* WebSockets: Peer pings are counted as activity for `idle_timeout`
2025-03-26 10:03:02 +00:00
* Fixed out-of-bounds access in `iequals` function
2025-02-28 07:41:47 +00:00
* Removed Boost.Scope dependency from examples
* Refactored CMakeLists
--------------------------------------------------------------------------------
2024-10-29 09:06:34 +00:00
Version 356:
* Added `error_code` overload for `basic_fields::insert()`
* Added overload for `websocket::stream::get_status` to query permessage-deflate status
* Fixed use-after-move in calls to `net::dispatch` within `http::basic_stream`, which caused `bad_executor` exceptions on timeouts
* Removed mutating operations in initiating functions
* Fixed cancellation handling in `teardown_tcp_op`
* Set `state_` in `basic_parser` before calling `on_finish_impl`
* Removed static specifier from `clamp` functions
* Addressed `-Wattributes` warnings in tests
* Addressed unreachable code warning in tests
* Added forward declaration headers for types in `beast::http` namespace
* Enabled `http::parser` to use `basic_fields::insert()` with `error_code` overload
* Applied `header_limit_` in `http::basic_parser` to trailer headers
* Improved `http::basic_parser` to return `http::error::header_limit` earlier
* Added support for modular boost build structure
--------------------------------------------------------------------------------
2024-07-08 06:51:25 +00:00
Version 355:
* awaitable examples are simplified
* server-flex-awaitable example demonstrates an explicit, graceful shutdown
* Add fuzzing targets
* Fix overloads that are ambiguous when using default completion tokens
* Fix misplaced static_assert in `http::basic_fields` move-assignment operator
* Fix narrowing conversion in `read_size_hint_db()`
--------------------------------------------------------------------------------
2024-05-31 14:52:32 +00:00
Version 354:
* `ssl_stream` and `flat_stream` are deprecated (Use `net::ssl::stream` instead)
* `net::ssl::stream` is canonical in examples and snippets
* `ssl_stream` does not use `flat_stream`
* Add `SSL/TLS Shutdown Procedure` section to documentation
* Add HTTP status code 418 ("I'm a teapot")
* `websocket::stream::read_size_hint()` does not exceed read_message_max
* Fix underflow of `bytes_transferred` in websocket partial write operations
* Fix error handling of SSL/TLS shutdown operations in examples
* Fix handling of expired timers in `basic_stream::ops::transfer_op`
* Fix ambiguity in `test::basic_stream` constructor overloads
* Fix partial parsing of the final chunk in `http::parser`
* Fix dereferenced null pointer warning in `test::immediate_executor`
* Fix warnings in tests
* Fix OpenSSL builds in GHA CI and Drone CI
* Fix `test::immediate_executor` type traits
* Refactor Jamfiles to limit the scope of definitions
* Expand CI matrix
--------------------------------------------------------------------------------
2024-02-20 13:46:34 +00:00
Version 353:
* Fix unreachable code warning in `buffers_cat.hpp`
* Fix zlib name conflicts
* Status code list confirms with IANA registry
* Add `const_iterator` to `buffers_adaptor::subrange`
* Improve documentation
--------------------------------------------------------------------------------
2024-01-11 13:46:18 +00:00
Version 352:
2024-02-20 13:46:34 +00:00
* Fix paragraph separation issue in the documentation
* Improve documentation for `http::message::prepare_payload()`
* Strengthen the buffer contract on `flat_buffer` and `flat_static_buffer`
* Add a non-allocating overload for the error category message function
* Replace internal uses of `beast::bind_front_handler` with `asio::prepend`
* Specialize `asio::associator` for `bind_wrapper` and `bind_front_wrapper`
* Fix an infinite loop bug in `websocker_server_awaitable.cpp`
* Fix the write loop in advanced server examples
2024-01-11 13:46:18 +00:00
--------------------------------------------------------------------------------
2023-11-21 06:58:30 +00:00
Version 351:
* Use the explicit type std::size_t when completing transfer_op
--------------------------------------------------------------------------------
2023-10-30 13:45:58 +00:00
Version 350:
* Allocation and invocation hooks are removed
* `detail::bind_default_executor` helper is removed
2024-02-20 13:46:34 +00:00
* Improve documentation for `websocket::stream::async_write_some`
2023-10-30 13:45:58 +00:00
--------------------------------------------------------------------------------
2023-10-13 10:52:15 +02:00
Version 349:
2024-02-20 13:46:34 +00:00
* Add support for `immediate_executor`
2023-10-30 13:45:58 +00:00
* `BOOST_ASIO_INITFN_AUTO_RES` replaces `BOOST_ASIO_INITFN_RESULT_TYPE`
2024-02-20 13:46:34 +00:00
* Update license info for `work_guard`
* Correct handler requirements of ping/pong
* Improve Drone caching
2023-10-30 13:45:58 +00:00
* `server-flex-awaitable` example now resets parser
* OpenSSL 1.1.1.2100 or later is required for x86
* GCC 5.0 or later is required
2024-02-20 13:46:34 +00:00
* Introduce self-hosted GitHub actions runners
2023-10-30 13:45:58 +00:00
* Minor documentation fixes and updates
2023-10-13 10:52:15 +02:00
--------------------------------------------------------------------------------
2023-06-28 12:35:52 +08:00
Version 348:
* multiple CI fixes
* jamfile uses openssl.jam
* websocket uses upper case Upgrade for connection field
* ssl_stream does not use BOOST_BEAST_ASYNC_TPARAM1 because of clang-16
* doc updates
--------------------------------------------------------------------------------
2023-02-20 14:06:17 +08:00
Version 347:
* `placeholder` ambiguity fix.
* awaitable server example fix
* doc updates.
--------------------------------------------------------------------------------
2023-02-06 04:22:37 +08:00
Version 346:
* beast file_body & file support seek
* file_body buffer size can be configured
* examples & tests use context instead of coroutine
* basic_stream doesn't use try-catch with no-exceptions set
* error categories use numeric id
* timer inside basic_stream uses the right executor
* self-posting is posting to the io-object's executor
* all error_codes use source_locations
--------------------------------------------------------------------------------
2022-12-07 13:52:54 +08:00
Version 345:
* Warning & typo fixes.
--------------------------------------------------------------------------------
2022-11-01 14:48:21 +08:00
Version 344:
* Internal fixes adopting to asio changes.
--------------------------------------------------------------------------------
2022-10-27 23:05:46 +08:00
Version 343:
* Beast IO-objects support rebinding constructors
* C++20 coroutine examples
2022-11-01 14:48:21 +08:00
--------------------------------------------------------------------------------
Version 342:
* Support per operation cancellation
--------------------------------------------------------------------------------
2022-10-12 10:13:22 +08:00
Version 341:
* Expect header field with the "100-continue" is handled in upgrade.
--------------------------------------------------------------------------------
2022-10-12 10:13:22 +08:00
Version 340:
* buffers have a features table in the docs
* buffer_ref allows using beast buffers with asio
* buffer_adaptor works with multi-buffer
--------------------------------------------------------------------------------
Version 339:
* BOOST_BEAST_USE_STD_STRING_VIEW is replaced by boost/core string_view.
* defining BOOST_BEAST_USE_STD_STRING_VIEW yields a deprecation warning
--------------------------------------------------------------------------------
Version 338:
* Added per message compression options.
--------------------------------------------------------------------------------
2022-10-03 09:18:49 +08:00
Version 337:
* Added timeout option to websocket
--------------------------------------------------------------------------------
2022-09-01 17:41:45 +02:00
Version 336:
* Remove incorrect ASSERT in WebSocket read.
--------------------------------------------------------------------------------
2022-08-24 21:45:52 +02:00
Version 335:
* Reduce size of multi_buffer.
* Upgrade OS on some drone CI jobs.
--------------------------------------------------------------------------------
2022-08-16 15:59:25 +02:00
Version 334:
* Fix version number in CML.
--------------------------------------------------------------------------------
Version 333:
2022-08-16 10:26:23 +02:00
* Workaround TSAN CI bug.
--------------------------------------------------------------------------------
Version 332:
2022-06-22 15:15:31 -03:00
* Fix beast::zlib warnings
* Improve documentation
--------------------------------------------------------------------------------
Version 331:
* Using core::string_view instead of utility::string_view
2022-06-07 14:07:30 -03:00
* Use static_string from Boost.StaticString
* Use span from Boost.Core
* Fix CVE-2018-25032 in zlib streams
* Add http::message_generator
* Add buffers_generator
* serializer::is_done is const
--------------------------------------------------------------------------------
2022-03-16 19:12:10 +01:00
Version 330:
2022-03-16 19:10:09 +01:00
* Update release notes for Boost 1.79.
--------------------------------------------------------------------------------
2022-03-09 16:35:06 +01:00
Version 329:
* Add missing include in `file_body` test.
--------------------------------------------------------------------------------
2022-01-14 15:21:45 +01:00
Version 328:
* Add ARM64 builds to Drone CI.
--------------------------------------------------------------------------------
2022-01-11 14:22:01 +01:00
Version 327:
* Fix async_base documentation link.
--------------------------------------------------------------------------------
2022-01-10 17:48:30 +01:00
Version 326:
2022-01-10 17:45:52 +01:00
* Remove GitHub stalebot.
--------------------------------------------------------------------------------
Version 325:
2021-12-22 12:01:24 +01:00
* WebSocket handshake response is deterministic on failure.
--------------------------------------------------------------------------------
Version 324:
2021-12-10 17:06:38 +01:00
* Fix open append mode for file_posix.
2021-12-10 12:57:37 +00:00
* Fix open append mode for file_win32.
* Add tests for file open in append mode.
* Fix file open with append/append_existing flag on Windows.
--------------------------------------------------------------------------------
2021-12-08 15:46:15 +01:00
Version 323:
* Fix clang-cl UTF8 path handling for `file_win32`.
2023-10-13 10:52:15 +02:00
* Fix clang-cl UTF8 path handling for `file_stdio`.
* Add individual tests to CMake workflow.
2023-10-13 10:52:15 +02:00
* Update CI to include gcc 11, clang 12, msvc 14.3.
* Update code coverage settings.
--------------------------------------------------------------------------------
2021-11-12 16:51:11 +01:00
Version 322:
* Fix typo in `_experimental::test::basic_stream` documentation.
--------------------------------------------------------------------------------
2021-11-03 20:19:20 +01:00
Version 321:
* Remove test framework's dependency on RTTI.
* Fix CVE-2016-9840 in zlib implementation.
* Fix TLS SNI handling in websocket_client_async_ssl example.
* Fix reuse of sliding window in WebSocket permessage_deflate.
* Fix accept error handling in http_server_async example.
* Move library-specific docca configuration to Beast.
* Remove dependency on RTTI in `test::stream`.
--------------------------------------------------------------------------------
2021-09-03 21:00:02 +02:00
Version 320:
* Fix missing includes in `stream_state`.
* Update GitHub Actions CI.
--------------------------------------------------------------------------------
2021-08-04 10:56:37 +02:00
Version 319:
2021-08-04 10:51:25 +02:00
* Update release notes for Boost 1.77.
--------------------------------------------------------------------------------
2021-06-06 19:48:16 +02:00
Version 318:
* Add a Boost-friendly subproject case to CMakeLists.
* Remove use of POSIX-only constant.
--------------------------------------------------------------------------------
2021-05-26 11:55:06 +02:00
Version 317:
2021-05-26 19:34:47 +02:00
* Remove travis CI.
2021-05-25 14:08:45 -05:00
* Fix Drone CI script.
* Add example of reading large response body.
--------------------------------------------------------------------------------
Version 316:
* Disable GHA CI for clang-9.
* Update example root certificates.
--------------------------------------------------------------------------------
2021-04-18 15:09:10 +02:00
Version 315:
2021-04-16 16:24:42 +03:00
* Documentation uses docca jam module.
--------------------------------------------------------------------------------
2021-04-06 16:20:49 +02:00
Version 314:
2021-03-30 12:01:11 +02:00
* WebSocket test is deterministic.
2021-04-06 16:45:05 +02:00
* Add missing compilers to GHA script.
2021-03-30 12:01:11 +02:00
--------------------------------------------------------------------------------
Version 313:
2021-03-26 09:30:11 +01:00
* Fix incorrect websocket test ordering.
* Fix missing check for error code after header is parsed.
* Fix case where inflated content is larger than the out buffer.
--------------------------------------------------------------------------------
2021-03-19 00:38:45 +01:00
Version 312:
2021-03-17 11:25:02 +01:00
* Enable Github Actions CI.
--------------------------------------------------------------------------------
2021-03-15 23:13:43 +01:00
Version 311:
2021-03-16 09:52:07 +01:00
* Fix warning in http-server-fast.
* Parenthesise all uses of min() and max().
2021-03-16 00:28:58 +01:00
* Extend Drone MSVC tests.
2021-03-15 23:12:00 +01:00
* Fix MSVC build error.
--------------------------------------------------------------------------------
2021-03-09 09:26:17 +01:00
Version 310:
2021-03-09 09:25:10 +01:00
* Update Release Notes.
--------------------------------------------------------------------------------
2021-03-03 19:13:14 +01:00
Version 309:
* Extra logic error detection in http parser.
2021-03-02 21:16:04 +00:00
* Move Windows CI to Drone.
--------------------------------------------------------------------------------
2021-03-01 22:34:36 +01:00
Version 308:
* Fix compiler warning in WebSSocket async shutdown.
2021-03-01 19:18:16 +01:00
* Remove Travis CI status.
* Repoint B2 refs to new non-boostorg home.
* Limit async_write instantiations in websocket ops.
2021-02-15 10:54:14 +01:00
* Add Drone CI status.
--------------------------------------------------------------------------------
2020-12-16 21:13:03 +01:00
Version 307:
* Add executor rebind to test::stream.
* Remove floating point arithmetic requirement.
* Add `cxxstd` to json field.
--------------------------------------------------------------------------------
2020-12-01 17:31:23 +01:00
Version 306:
* Revert removal of lowest_layer_type from test stream.
--------------------------------------------------------------------------------
2020-11-20 18:11:00 +01:00
Version 305:
* Fix documentation build.
--------------------------------------------------------------------------------
2020-11-04 15:19:41 +01:00
Version 304:
* Fix C++20 coroutine tests.
2020-10-30 17:28:59 +01:00
* Fix links to Bishop Fox Security Assessment.
--------------------------------------------------------------------------------
2020-10-28 14:38:06 +01:00
Version 303:
* Add Bishop Fox Security Assessment.
2020-10-30 17:28:59 +01:00
--------------------------------------------------------------------------------
2020-10-28 14:38:06 +01:00
Version 302:
* Fix assert when basic_stream used as underlying of ssl::stream with zero-length write.
* Add Sec-* HTTP headers.
* Fix nullptr implicit cast on `fields::set()`.
--------------------------------------------------------------------------------
Version 301:
2020-08-28 15:58:06 +02:00
* Fix Travis CI bug.
* Fix erroneous error when HTTP `body_limit` is `none`.
* Fix unreachable code warning with MSVC.
* Fix logic error in advance_server_flex.
* Fix file open with append_existing flag on posix.
* Websocket SSL `teardown` also tears down underlying TCP.
* Update WebSocket examples to set TLS SNI.
* Add handler tracking locations to websocket.
* Add handler tracking locations to tcp teardown.
* Eliminate spurious uninitialised variable warning in detect_ssl.
* Add handler tracking locations to flat_stream.
* Add handler tracking locations to detect_ssl.
* Add handler tracking locations to icy_stream.
* Add handler tracking locations to basic_stream.
* Add handler tracking locations to http operations.
API Changes:
* Previously, `teardown` and `async_teardown` of a websocket connection over SSL
2023-10-13 10:52:15 +02:00
would only shut down the SSL layer, leaving the TCP layer connected. Now the
SSL teardown will tear down both the SSL and TCP layers, cleanly shutting down
the TCP connection and closing the socket.
2023-10-13 10:52:15 +02:00
Should the client expect the TCP socket to remain connected, users will need to
re-engineer their code.
--------------------------------------------------------------------------------
2020-07-17 15:31:56 +02:00
Version 300:
* Fix compile errors under Clang 3.4
* Fix portability bug in websocket server sync example.
--------------------------------------------------------------------------------
Version 299:
2020-07-07 12:31:45 +02:00
* Fix race in http-crawl example.
--------------------------------------------------------------------------------
2020-07-03 15:58:53 +02:00
Version 298:
2020-06-25 16:03:59 +02:00
* Support BOOST_ASIO_NO_TS_EXECUTORS.
* Use strand<> rather than legacy executor io_context::strand.
* Use dispatch/post free functions to be independent of executor concept.
* New name for polymorphic executor. Trait for detecting new executors.
* Handler invoke and allocation hooks are deprecated.
--------------------------------------------------------------------------------
Version 297:
* iless and iequal take part in Heterogeneous Lookup
2020-06-11 13:48:25 +02:00
* Fix `max` compile error
* Deprecate `string_param` (API Change)
API Changes:
2023-10-13 10:52:15 +02:00
* `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.
2023-10-13 10:52:15 +02:00
Users are required to convert numeric arguments to a string type prior to calling
`fields::set` et. al.
2023-10-13 10:52:15 +02:00
Beast provides the non-allocating `to_static_string()` function for this purpose.
2023-10-13 10:52:15 +02:00
To set Content-Length field manually, call `message::content_length`.
2020-06-11 13:48:25 +02:00
--------------------------------------------------------------------------------
Version 296:
* Remove buffers_adapter.hpp (API Change)
* Remove zlib error `invalid_code_lenths`(sic) (API Change)
* Remove `core/type_traits.hpp` (API Change)
* Remove `reset` function from `flat_static_buffer` (API Change)
* Remove `mutable_data_type` from Dyanmic Buffers (API Change)
* Remove deprecated lowest_layer from test::stream
* Remove handler_pointer (API Change)
* Remove websocket::role_type (API Change)
* Remove accept_ex and handshake_ex variants (API Change)
* Rename to BOOST_BEAST_ALLOW_DEPRECATED (API Change)
API Changes:
* The file `core/buffers_adapter.hpp` has been removed along with the deprecated
2023-10-13 10:52:15 +02:00
alias typename `buffers_adapter`. Affected programs should use
`core/buffers_adapator.hpp` and the type `buffers_adaptor`.
* The error code enum `invalid_code_lenths` was a synonym of `invalid_code_lengths`.
Affected programs should be modified to use `invalid_code_lengths`.
* 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.
2023-10-13 10:52:15 +02:00
* The `reset` function has been removed from `flat_static_buffer`. Use the
`clear` function instead.
* 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`
2023-10-13 10:52:15 +02:00
* handler_ptr has been removed. Users should use net::bind_handler and/or
bind_front_handler instead.
* websocket::role_type has been removed. Users should use beast::role_type instead.
* 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.
* The macro BOOST_BEAST_NO_DEPRECATED will no longer be noticed by Beast. The only way to
2023-10-13 10:52:15 +02:00
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.
--------------------------------------------------------------------------------
2020-05-29 16:49:07 +02:00
Version 295:
* Parser body_limit is optional (API Change)
* Fix basic_stream expires_after (API Change)
* Fix FILE namespace qualification
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.
* 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.
--------------------------------------------------------------------------------
Version 294:
* Fix FILE namespace qualification
* Fix http read bytes_transferred (API Change)
API Changes:
The following functions did not previously report the number of bytes consumed
by the HTTP parser:
- http::read
- http::read_header
- http::read_some
- http::async_read
- http::async_read_header
- http::async_read_some
2023-10-13 10:52:15 +02:00
As of now, the `bytes_transferred` return value will indicate the number of bytes
consumed by the parser when parsing an http message.
Actions Required:
- Modify calling code which depends on the value returned from these functions.
--------------------------------------------------------------------------------
Version 293:
* Fix async_connect documentation
2020-05-01 16:56:15 +02:00
* Fix assert in websocket
* No automatic User-Agent in WebSocket
Behaviour Changes:
* No automatic User-Agent in WebSocket
Beast websocket streams will no longer automatically set the
User-Agent HTTP header during client handshake. This header is not required
by the WebSocket standard. If this field is required, user code may set it
in the decorator
2020-05-01 16:56:15 +02:00
--------------------------------------------------------------------------------
2020-04-30 08:03:30 +02:00
Version 292:
* Fix compile errors on Visual Studio with /std:c++latest
2023-10-13 10:52:15 +02:00
* Fix standalone compilation error with std::string_view
* OpenSSL 1.0.2 or later is required
* Fix c++20 deprecation warning in span_body
--------------------------------------------------------------------------------
2020-04-28 19:32:37 +02:00
Version 291:
* Test websocket with use_awaitable
* Test http write with use_awaitable
* Test http read with use_awaitable
* Fix use buffered_read_stream with use_awaitable
* Implement is_completion_token_for trait
* Test use_awaitable with basic_stream
* Fix async_detect_ssl with use_awaitable
* Add clang coroutines-ts to circleci config
--------------------------------------------------------------------------------
2020-04-20 11:46:07 +02:00
Version 290:
* Travis build host now bionic
* Update Release Notes
2020-04-08 15:37:20 +02:00
Version 289:
* Fix Host header in websocket examples
--------------------------------------------------------------------------------
2020-03-18 15:55:03 +01:00
Version 288:
2020-03-18 16:45:05 +01:00
* Fix Content-Length parsing
2020-03-19 18:15:17 +01:00
* Update credits
2020-03-18 15:55:03 +01:00
--------------------------------------------------------------------------------
2020-03-17 16:08:11 +01:00
Version 287:
2020-03-11 18:07:12 +01:00
* Remove CODE_OF_CONDUCT.md
* Refactor websocket read
* Correct buffer_bytes documentation
* Fix examples to dispatch to strand
* Ensure basic_stream::close will not throw
2020-03-11 18:07:12 +01:00
--------------------------------------------------------------------------------
2020-02-14 12:00:04 -08:00
Version 286:
* Refactor multi_buffer
2020-02-25 16:02:37 +01:00
* Refactor buffers_adapter
2020-02-25 20:14:24 +01:00
* Refactor static_buffer
2020-02-26 10:31:08 +01:00
* Refactor flat_buffer
2020-02-26 10:50:52 +01:00
* Refactor flat_static_buffer
2020-02-28 11:27:19 +01:00
* Fix missing include in sha1.hpp
* Fix ostream warning
* Field digest is endian-independent
* update broken links in README
* Fix ostream flush
2020-02-14 12:00:04 -08:00
API Changes:
2020-02-26 10:50:52 +01:00
* Nested const and mutable buffer types for all
Beast dynamic buffers are refactored. Affected types:
- buffers_adapter
- flat_buffer
- flat_static_buffer
- multi_buffer
- static_buffer
2023-10-13 10:52:15 +02:00
2020-02-26 10:50:52 +01:00
* Nested mutable_data_type in Beast dynamic buffers is deprecated:
Changes Required:
* Use nested mutable_buffers_type instead of mutable_data_type,
or define BOOST_BEAST_ALLOW_DEPRECATED
2020-02-14 12:00:04 -08:00
--------------------------------------------------------------------------------
2020-02-04 18:49:44 +01:00
Version 285:
* Translate some win32 errors to net error codes
* enable circleci integration
* flat_buffer shrink_to_fit is noexcept
* moved-from dynamic buffers do not clear if different allocator
* fix erase field
--------------------------------------------------------------------------------
2020-01-27 15:50:42 +01:00
Version 284:
* fix compilation macro documentation
* examples use strands correctly
2020-01-26 12:21:02 +01:00
* update root certificates in examples
* clarify end-of-file behaviour in File::read docs
* file_body returns short_read on eof during read
* fix bug in win32 file_body
--------------------------------------------------------------------------------
Version 283:
* ostream_buffer satisfies preconditions of DynamicBuffer_v1::commit
* Add accessor function to File member of basic_file_body
Version 282:
* Use superproject docca
* Fix release build of docs
* file_win32 supports UTF-8 paths
* file_stdio supports unicode paths
--------------------------------------------------------------------------------
2019-12-18 18:53:50 +02:00
Version 281:
* Travis builds docs
2019-12-23 17:42:00 +01:00
* Fix echo-op test
* file_win32 bodies respect http::serializer::split
2019-12-18 18:53:50 +02:00
--------------------------------------------------------------------------------
2019-12-17 11:03:20 -08:00
Version 280:
* Fix non-msvc cmake
* Use docca master branch
--------------------------------------------------------------------------------
2019-12-07 14:39:05 -08:00
Version 279:
2019-12-17 11:03:20 -08:00
* Use regular throw in test
2019-12-07 14:39:05 -08:00
* Fix pragma warning
--------------------------------------------------------------------------------
2019-12-06 19:41:55 -08:00
Version 278:
2019-12-08 08:31:19 -08:00
* Use regular throw in test
2019-12-06 19:41:55 -08:00
--------------------------------------------------------------------------------
Version 277:
* Update release notes
--------------------------------------------------------------------------------
2019-11-09 03:02:29 -08:00
Version 276:
* https_get example sends the Host header
* Fix async_close error code when async_read times out
* Refactor zlib tests and fix enum typo
--------------------------------------------------------------------------------
Version 275:
* Async init-fns use the executor's default token
2019-10-30 19:50:54 -07:00
* Add basic_stream::rebind_executor
* Use automatically deduced return types for all async operations
* Support Concepts for completion token params
--------------------------------------------------------------------------------
Version 274:
* Fix leftovers in basic_parser corner case
--------------------------------------------------------------------------------
Version 273:
* Squelch spurious websocket timer assert
2019-10-15 15:47:56 -07:00
* Use the executor type in basic_stream timer
--------------------------------------------------------------------------------
2019-10-06 15:15:54 -07:00
Version 272:
* Add BEAST_THROWS
* Add zlib tests and fixes
2019-10-06 15:15:54 -07:00
--------------------------------------------------------------------------------
2019-10-06 08:04:15 -07:00
Version 271:
* Add HTTP async client with system_executor example
* Add WebSocket async client with system_executor example
* Fix data race in HTTP server examples
* Fix data race in WebSocket examples
--------------------------------------------------------------------------------
2019-10-04 18:56:06 -07:00
Version 270:
* Silence unused variables
2019-10-04 18:48:48 -07:00
* Fix typo
2019-10-04 18:56:06 -07:00
--------------------------------------------------------------------------------
Version 269:
* Fix /permissive- missing include
2019-10-04 18:48:48 -07:00
* Add test
--------------------------------------------------------------------------------
Version 268:
* root_certificates.hpp is not for production
--------------------------------------------------------------------------------
2019-08-15 07:15:52 -07:00
Version 267:
* Add package for Travis config
* Fix signed/unsigned mismatch in file_stdio::seek
* basic_stream dtor cannot throw
* cmake: check policy first
* Add default dtors to satisfy -Wnon-virtual-dtor
* Multiple I/O of the same type is not supported
2019-08-15 07:15:52 -07:00
--------------------------------------------------------------------------------
Version 266:
* Fix some missing deduced return types in the docs
--------------------------------------------------------------------------------
Version 265:
* Fix outgoing websocket message compression
--------------------------------------------------------------------------------
Version 264:
* Handle overflow in max size calculation in `basic_dynamic_body`
* Fix unused variable warnings in tests
* Fix missing initializer warning in `basic_fields`
* Remove unused functions in `impl/static_string.hpp`
* Fix unused variable warning in `multi_buffer`
* Fix header-only compilation errors in some configurations
* Workaround for miscompilation in MSVC 14.2
--------------------------------------------------------------------------------
2019-07-06 12:04:52 -07:00
Version 263:
* Update documentation
--------------------------------------------------------------------------------
2019-07-03 17:21:00 -07:00
Version 262:
* Fix deallocate in multi_buffer
--------------------------------------------------------------------------------
Version 261:
* Deduplicate `websocket::read_size_hint` definition
* Fix UB in websocket read tests
* Remove redundant includes in websocket
* Simplify websocket::detail::prng
* Don't over-allocate in http::basic_fields
2019-06-30 19:18:37 -07:00
* Fix multi_buffer allocation alignment
2019-07-01 10:42:43 -07:00
* Tidy up buffers_range
--------------------------------------------------------------------------------
Version 260:
* More split compilation in rfc7230.hpp
* Qualify calls to `beast::iequals` in basic_parser.ipp
* More split compilation in websocket/detail/mask.hpp
* Cleanup transitive includes in beast/core/detail/type_traits.hpp
* Simplify generation of sec-websocket-key
* Move detail::base64 helpers to tests
* Remove redundant includes in core
--------------------------------------------------------------------------------
Version 259:
* Reduce the number of instantiations of filter_token_list
* Remove the use of `static_string` from `http::fields`
* Add gcc-9 to AzP CI test matrix
* Enable split compilation in http::basic_fields
* Remove redundant instation of `static_string` in websocket
* Remove redundant use of `asio::coroutine` in `flat_stream`
* Remove unused includes from `test::stream`
* Move `char_buffer` into a separate file
* Fix coverage collection in AzP CI
* Improve performance of `http::string_to_verb`
* Replace uses of `net::coroutine` with `asio::coroutine`
* Replace uses of `net::spawn` with `asio::spawn`
* Use `beast::read_size` in `detail::read`
--------------------------------------------------------------------------------
Version 258:
* Fix separate compilation in CI
* Fix clang inititalization warning in websocket
* Remove redundant use of `yield_to` in parser tests
* Add VS 2019 AzP CI matrix item
* Clean up typo in chat websocket javascript client
--------------------------------------------------------------------------------
Version 257:
* Add b2 features for compile-time options used in testing
* Remove redundant dependencies in http/server/fast example
* Remove experimental/unit_test/thread.hpp
* Use `if` statement in basic_stream::transfer_op
2019-05-27 08:27:25 -07:00
* Fix flat_buffer copy members
--------------------------------------------------------------------------------
Version 256:
* Remove uses of the deprecated `buffers` function
* Remove uses of deprecated methods in websocket tests
* Remove redundant use of `static_string`
* Remove redundant template in service_base
* Expand CI matrix using Azure Pipelines
* Make chat websocket javascript client more user friendly
* `allocator_traits::construct` is used for user-defined types
* Add 1-element specialization for `buffers_cat`
* Fix `buffers_cat` iterator tests
2019-05-06 10:54:47 -07:00
* Don't pessimize-move
2019-05-10 14:00:11 +02:00
* Use steady_timer type
* Preserve operation_aborted on partial message
--------------------------------------------------------------------------------
2019-05-04 08:23:40 -07:00
Version 255:
* Add idle ping suspend test
* Fix moved-from executor in idle ping timeout
2019-05-04 08:23:40 -07:00
--------------------------------------------------------------------------------
Version 254:
* Fix data race in test::stream::connect
* Fix UB in websocket close tests
* Fix uninitalized memory use in deflate_stream
* Fix gcc-8 warning in websocket::stream
--------------------------------------------------------------------------------
Version 253:
* Fix async_detect_ssl handler type
* member get_executor const-correctness
2019-04-19 11:36:00 -07:00
* Fix min/max on MSVC
* Relax requirements for vector_body
--------------------------------------------------------------------------------
2019-04-18 10:26:05 -07:00
Version 252:
* More std::string_view fixes
* CI copies to libs/beast
2019-04-18 10:26:05 -07:00
--------------------------------------------------------------------------------
2019-04-12 01:47:32 +02:00
Version 251:
* Clean up CI scripts
* detect_ssl uses bool
* launder pointers
* Fix compilation on MSVC with std::string_view
* Replace static_string in parser
2019-04-12 01:47:32 +02:00
--------------------------------------------------------------------------------
2019-04-11 14:01:37 -07:00
Version 250:
* Use SaxonHE in reference generation
* Cleanup endianness conversions
* Set parser status and flags even if body_limit_ has been reached
2019-04-11 14:01:37 -07:00
--------------------------------------------------------------------------------
Version 249:
* Move friend function template definition
--------------------------------------------------------------------------------
Version 248:
* Don't use a moved-from handler
--------------------------------------------------------------------------------
Version 247:
* Fix async_base immediate completion
--------------------------------------------------------------------------------
2019-04-03 11:16:14 -07:00
Version 246:
* decorator ctor is explicit
--------------------------------------------------------------------------------
2019-04-02 16:31:30 -07:00
Version 245:
* decorator constructor is constrained
--------------------------------------------------------------------------------
2019-04-01 17:35:44 -07:00
Version 244:
* Tidy up declval in some traits
* Fix websocket keep-alive ping expiration
2019-04-01 17:35:44 -07:00
--------------------------------------------------------------------------------
2019-03-30 21:03:06 +04:00
Version 243:
* Fix some typos
2019-03-30 14:13:36 -07:00
* Tidy up file_stdio for VS2015
* Fix http::message constructor constraint
2019-03-30 21:03:06 +04:00
--------------------------------------------------------------------------------
Version 242:
* test::stream has deprecated lowest_layer for ssl
* MSVC uses ::fopen_s
* Fix http::message constructor constraint
2019-03-29 20:41:39 -07:00
* Check defined(BOOST_MSVC)
--------------------------------------------------------------------------------
2019-03-28 09:53:27 -07:00
Version 241:
* Tidy up a doc code snippet
* basic_parser::content_length is stable (API Change)
2019-03-28 09:53:27 -07:00
--------------------------------------------------------------------------------
2019-03-27 09:13:32 -07:00
Version 240:
* Fix ssl_stream teardown
--------------------------------------------------------------------------------
Version 239:
* More split compilation in HTTP
--------------------------------------------------------------------------------
Version 238:
* Refactor Jamfiles to work with release layout
--------------------------------------------------------------------------------
Version 237:
* cmake: Use static libs to speed up builds
--------------------------------------------------------------------------------
Version 236:
* root_certificates.hpp: brought in the server certificate
--------------------------------------------------------------------------------
Version 235:
* Fix self-assignment warning in buffer test
2019-03-20 14:10:40 -07:00
* Jamfile cleanup
--------------------------------------------------------------------------------
Version 234:
* Don't link to OpenSSL needlessly (bjam)
2019-03-18 20:21:25 -04:00
* HTTPS URLs in README.md
--------------------------------------------------------------------------------
Version 233:
* Check __ANDROID__ instead
* Use secure TLS/SSL versions
--------------------------------------------------------------------------------
Version 232:
* Fix close_socket for net::basic_socket changes
* Fix file_win32_write_op async initiation
2019-03-12 18:58:02 -07:00
* Fix basic_stream lowest_layer for ssl
--------------------------------------------------------------------------------
2019-03-11 13:23:55 -07:00
Version 231:
* Doc section names are stable
* Add missing include
2019-03-12 13:40:23 -07:00
* Constrain to_static_string to integers
2019-03-11 13:23:55 -07:00
--------------------------------------------------------------------------------
2019-03-06 16:22:19 -08:00
Version 230:
* Don't use dynamic_buffer_ref
* Remove dynamic_buffer_ref
* Fix completion handler invocation signatures
2019-03-06 16:22:19 -08:00
--------------------------------------------------------------------------------
2019-03-05 08:47:02 -08:00
Version 229:
* Rename to buffer_bytes
2019-03-06 05:40:49 -08:00
* Tidy up examples
2019-03-06 05:46:11 -08:00
* detect_ssl returns a bool
2019-03-06 10:36:48 -08:00
* Fix stable_async_base example
2019-03-05 08:47:02 -08:00
API Changes:
* handler_ptr is deprecated
Actions Required:
* Replace use of `handler_ptr` with `stable_async_base`
and `allocate_stable`.
2019-03-05 08:47:02 -08:00
--------------------------------------------------------------------------------
Version 228:
* Fix UB in decorator:
2019-03-04 07:52:33 -08:00
* Sync up convenience headers
* The Fields concept is deprecated (API Change)
2019-03-04 14:24:17 -08:00
* Fix includes.xsl for newer doxygen
2019-03-04 14:39:43 -08:00
* Tidy up quick reference
* SSL teardowns are in an associated namespace
--------------------------------------------------------------------------------
2019-03-03 17:02:47 -08:00
Version 227:
* Fix decorator for certain sizes
--------------------------------------------------------------------------------
2019-03-01 13:39:12 -08:00
Version 226:
* Support -fno-exceptions
2019-03-02 05:22:02 -08:00
* make_strand is in net::
* Fix HTTP parser static string calculation
2019-03-02 08:57:26 -08:00
* Move parser definitions to .ipp
2019-03-02 10:51:44 -08:00
* Appveyor uses msvc-14.0
2019-03-01 13:39:12 -08:00
--------------------------------------------------------------------------------
2019-03-01 11:02:37 -08:00
Version 225:
* Tidy up an unused function
2019-03-01 11:28:40 -08:00
* Fix wsload jamfile
2019-03-01 11:57:58 -08:00
* Examples use flat_buffer
* Remove session_alloc (API Change)
Actions Required:
* Don't use session_alloc
2019-03-01 11:02:37 -08:00
--------------------------------------------------------------------------------
Version 224:
* Remove extraneous error check in advanced-server-flex
* Advanced servers use HTTP parser interfaces for reading
* Reusing an HTTP parser returns an error
--------------------------------------------------------------------------------
2019-02-26 18:55:23 -08:00
Version 223:
* Add test::stream::service
2019-02-27 15:02:00 -08:00
* Add websocket service
* Pausation abandoning test
* Destroy abandoned websocket ops on shutdown
2019-02-26 18:55:23 -08:00
--------------------------------------------------------------------------------
Version 222:
* stream_base::timeout::suggested is a nested function
--------------------------------------------------------------------------------
Version 221:
* Rename to async_base, stable_async_base
* role_type is in boost/beast/core/role.hpp (API Change)
2019-02-25 17:14:04 -08:00
* Cleanup in test::stream internals
* Pass references as pointers to async_initiate
Actions Required:
* Include <boost/beast/core/role.hpp> or
define BOOST_BEAST_ALLOW_DEPRECATED=1
--------------------------------------------------------------------------------
Version 220:
* Documentation and release notes
--------------------------------------------------------------------------------
Version 219:
* More split definitions in test::stream
* Visual Studio 2017 minimum requirement for Windows
* Better treatment of SSL short reads
2019-02-23 09:56:52 -08:00
* ssl_stream is a public interface
* basic_parser is abstract, not CRTP (API Change)
* OpenSSL is required for tests and examples
--------------------------------------------------------------------------------
Version 218:
* detect_ssl, async_detect_ssl are public interfaces
* Add OpenSSL installation/setup instructions
* Enable split Beast compilation for tests
--------------------------------------------------------------------------------
2019-02-19 17:14:34 -08:00
Version 217:
* websocket idle pings
2019-02-19 20:29:35 -08:00
* RatePolicy documentation
2019-02-20 07:07:01 -08:00
* Pass strand to async_accept
2019-02-20 12:18:44 -08:00
* Fix file_body_win32
2019-02-20 20:25:01 -08:00
* Use async_initiate
2019-02-21 07:00:31 -08:00
* Check BOOST_NO_CXX11_THREAD_LOCAL
2019-02-21 10:56:11 -08:00
* Fast prng is pcg
2019-02-19 17:14:34 -08:00
--------------------------------------------------------------------------------
2019-01-20 12:25:30 -08:00
Version 216:
* Refactor websocket::stream operations
2019-02-13 08:00:07 -08:00
* Add websocket::stream timeouts
* Use suggested timeouts in Websocket examples
2019-02-18 13:38:40 -08:00
* Add make_strand
2019-02-10 12:27:28 -08:00
* Add RatePolicy to basic_stream
2019-02-19 16:30:05 -08:00
* Use async_initiate in basic_stream
* basic_stream connects are members
* Beast supports latest Asio changes (API Change)
* WebSocket Decorator is a socket option (API Change)
* Overloads of the following functions which accept a Decorator
are deprecated:
- accept, accept_ex
- handshake, handshake_ex
- async_accept, async_accept_ex
- async_handshake, async_handshake_ex
Actions Required:
* Code which passes decorator to any `websocket::stream` member
function should call `stream::set_option` instead with a newly
constructed `stream_base::decorator` object containing the
decorator. Alternatively, the macro `BOOST_BEAST_ALLOW_DEPRECATED`
may be defined to 1.
* Fix compilation errors required by Asio changes
2019-01-20 12:25:30 -08:00
--------------------------------------------------------------------------------
2019-02-14 12:54:32 -08:00
Version 215:
* basic_stream uses boost::shared_ptr
2019-02-14 16:11:14 -08:00
* Remove bind_back_handler
* bind_front_handler works with member functions
2019-02-14 16:20:27 -08:00
* Examples use bind_front_handler
2019-02-15 15:18:33 -08:00
* Add experimental test/handler.hpp
2019-02-15 15:02:38 -08:00
* Rename to async_op_base::invoke_now
2019-02-15 15:16:51 -08:00
* Add async_op_base::invoke
* Remove CppCon2018 example
2019-02-16 05:29:13 -08:00
* Examples use ssl_stream
2019-02-14 12:54:32 -08:00
--------------------------------------------------------------------------------
Version 214:
2019-02-11 21:10:29 -08:00
* Handler binders use the associated allocator
* Add detail::bind_continuation
2019-02-13 12:16:17 -08:00
* Rewrite the echo-op example
--------------------------------------------------------------------------------
Version 213:
* Fix posix_file::close handling of EINTR
* basic_stream subsumes stranded_stream:
2019-02-09 20:26:48 -08:00
* Use timeouts in HTTP server examples
2019-02-09 22:04:01 -08:00
* Use timeouts in HTTP client examples
* Use tcp_stream in WebSocket client examples
* Use tcp_stream in WebSocket server examples
* Use tcp_stream, HTTP timeouts in advanced servers
--------------------------------------------------------------------------------
2019-02-07 20:57:50 -08:00
Version 212:
* dynamic_buffer_ref tests and tidy
2019-02-07 21:43:02 -08:00
* flat_stream tests and tidy
2019-02-07 20:11:21 -08:00
* stranded_socket tests and tidy
2019-02-08 10:47:36 -08:00
* buffers_front tests
* Improved websocket stream documentation
2019-02-07 20:57:50 -08:00
--------------------------------------------------------------------------------
2019-02-05 21:03:20 -08:00
Version 211:
* close_socket is in stream_traits.hpp
* Improvements to test::stream
2019-02-04 19:25:44 -08:00
* Add stranded_stream
* Add flat_stream
2019-02-07 11:47:57 -08:00
* flat_buffer::clear preserves capacity
2019-02-07 14:02:46 -08:00
* multi_buffer::clear preserves capacity
* Fixes to rfc7230
2019-02-05 21:03:20 -08:00
--------------------------------------------------------------------------------
2019-02-03 07:25:59 -08:00
Version 210:
* Tidy up read implementation
2019-02-03 16:53:22 -08:00
* Fix stable_async_op_base javadoc
2019-02-04 06:45:45 -08:00
* Better handling of stream timeouts
* Add stream_traits.hpp
2019-02-04 21:52:54 -08:00
* Add executor_type trait
* Fix hexadecimal string conversion table
* is_completion_handler, type_traits.hpp are deprecated
* Fixes to test::stream::async_read
2019-02-03 07:25:59 -08:00
API Changes:
* Stream traits are now in stream_traits.hpp
* `is_file` is now in file_base.hpp
* is_completion_handler is deprecated
Actions Required:
* Include stream_traits.hpp as needed
* Include file_base.hpp as needed
* Use std::is_invocable instead of is_completion_handler
2019-02-03 07:25:59 -08:00
--------------------------------------------------------------------------------
Version 209:
* Faster http::string_to_field
* async_echo supports move-only handlers
* test::stream maintains a handler work guard
* Qualify buffer_copy, don't qualify buffer_size
2019-02-02 16:14:10 -08:00
* Add dynamic_buffer_ref
2019-02-02 16:46:52 -08:00
* Refactor quickref.xml
2019-02-02 20:44:04 -08:00
* Add buffer_size
--------------------------------------------------------------------------------
Version 208:
* Add get_lowest_layer free function
* Add lowest_layer_type metafunction
* Add close_socket, beast_close_socket customization
2019-02-01 04:16:05 -08:00
* Doc work
--------------------------------------------------------------------------------
2019-01-21 16:07:00 -08:00
Version 207
* Send from the strand
* Pass the correct handler in basic_timeout_stream
2019-01-21 16:07:00 -08:00
API Changes:
* lowest_layer is removed
Actions Required:
* Remove lowest_layer and lowest_layer_type from user-defined streams.
* Use the get_lowest_layer free function and the lowest_layer_type trait
as needed.
2019-01-21 16:07:00 -08:00
--------------------------------------------------------------------------------
2019-01-20 09:50:43 -08:00
Version 206
* Clear error codes idiomatically
* websocket stream uses shared_ptr<impl_type>
* Add websocket-chat-multi example
2019-01-20 09:50:43 -08:00
--------------------------------------------------------------------------------
2019-01-18 07:41:45 -08:00
Version 205
* Doc work
2019-01-19 07:17:23 -08:00
* Add detail/soft_mutex.hpp
2019-01-19 07:23:47 -08:00
* Add detail/prng.hpp
2019-01-18 07:41:45 -08:00
--------------------------------------------------------------------------------
Version 204
* Add basic_timeout_stream
* Unit test macros use the global suite
2019-01-17 17:04:33 -08:00
* Doc work
--------------------------------------------------------------------------------
2019-01-11 12:34:04 -08:00
Version 203
* Update networking refresher doc
* Include error code in call to set_option
* saved_handler is a public interface
2019-01-12 15:32:12 -08:00
* Use new saved_handler in websocket
2019-01-12 17:42:53 -08:00
* session_alloc is thread-safe
2019-01-12 17:44:29 -08:00
* examples use flat_buffer
2019-01-12 17:51:07 -08:00
* parse_until is not static
* Boost.System is header-only
2019-01-11 12:34:04 -08:00
--------------------------------------------------------------------------------
2019-01-08 23:43:47 -05:00
Version 202
* Use cxxstd instead of cxxflags
2019-01-01 13:09:59 -08:00
* Update coverage badge images
2019-01-04 17:29:26 -08:00
* Tidy up basic_stream_socket docs
* Refactor async_op_base
* Use async_op_base
* async_op_base is a public interface
2019-01-09 09:52:19 -08:00
* Add tests for bind_back_handler
2019-01-09 16:11:15 -08:00
* Add tests for async_op_base
2019-01-08 23:43:47 -05:00
--------------------------------------------------------------------------------
Version 201
* Decay bound arguments in handler wrapper parameters
2018-12-20 13:38:43 -08:00
* Add bind_back_handler
2018-12-23 08:43:27 -08:00
* Tidy up default-constructed iterators
2018-12-30 12:38:35 -08:00
* Add core errors and conditions
* New basic_stream_socket
--------------------------------------------------------------------------------
Version 200
* Don't include OpenSSL for core snippets
* Tidy up msvc-14 workaround in multi_buffer
* buffers_cat fixes and coverage
* Refactor buffers_adaptor
* Refactor buffers_range
* Fix and refactor buffers_cat
* Refactor buffers_prefix
* Add const and mutable buffer sequence traits
2018-12-15 11:27:14 -08:00
* Add buffers_iterator_type trait
* Use new buffer traits, remove old unused traits
* Optimize for size on buffers_cat preconditions
* Refactor buffers_suffix
* Tidy up flat_buffer tests
* Fix ostream prepare calculation for low limits
2018-12-15 17:43:03 -08:00
* Tidy up flat_static_buffer tests
* Add more tests for dynamic buffers
* Tidy up multi_buffer
* Refactor ostream
* Refactor static_buffer
2018-12-19 18:34:51 -08:00
* HTTP tidying
* Adjust static_asio lib options in Jamfile
2018-12-19 18:35:31 -08:00
* Add type_traits tests
* Add buffers_range_ref (replaces reference_wrapper parameter)
API Changes:
* buffers_adaptor replaces buffers_adapter (rename)
* make_printable replaces buffers (rename)
* Remove file_mode::append_new
Actions Required:
* Replace buffers_adapter.hpp with buffers_adaptor.hpp, and
replace buffers_adapter with buffers_adaptor. Or, define
BOOST_BEAST_ALLOW_DEPRECATED
* Replace call sites to use make_printable instead of buffers,
and also include make_printable.hpp instead of ostream.hpp.
* Replace file_mode::append_new with file_mode::append
or file_mode::append_existing instead of file_mode::append_new
--------------------------------------------------------------------------------
2018-12-13 16:43:17 -08:00
Version 199:
* Workarounds for msvc-14
2018-12-14 05:28:20 -08:00
* Fix Appveyor badge links
2018-12-13 16:43:17 -08:00
--------------------------------------------------------------------------------
Version 198:
* flat_buffer improvements
* multi_buffer improvements
* static_buffer improvements
* flat_static_buffer_improvements
* saved_handler maintains a work_guard (websocket)
2018-12-12 18:48:59 -08:00
* Add buffer_traits.hpp, buffers_type
2018-12-08 14:13:43 -08:00
* Tidy up experimental files
2018-12-09 09:19:01 -08:00
* Tidy up core files
* Fix bind_handler, bind_front_handler
2018-12-11 13:35:35 -08:00
* Improved handler bind wrapper tests
API Changes:
* Files return errc::bad_file_descriptor
* flat_static_buffer::reset is deprecated
Actions Required:
* Callers checking for errc::invalid_argument from calls to
file APIs should check for errc::bad_file_descriptor instead.
* Replace calls to flat_static_buffer::reset with
flat_static_buffer::clear
--------------------------------------------------------------------------------
Version 197:
* Improvements to echo-op example
* Crawler example clears the response before each read
* Use a struct instead of a pair in flat_stream (experimental)
API Changes:
* Refactor HTTP operations
Actions Required:
* Callers depending on the return value of http::read or
http::async_read overloads should adjust the usage of
the returned value as needed.
--------------------------------------------------------------------------------
2018-12-02 19:48:42 -08:00
Version 196:
* Tidy up calls to placement new
* Remove unused type_traits
* Simplify handler_ptr
2018-12-02 19:48:42 -08:00
--------------------------------------------------------------------------------
Version 195:
* net is a namespace alias for boost::asio
* Simplify multi_buffer and static_buffer sequences
2018-12-01 13:22:21 -08:00
* Documentation work
--------------------------------------------------------------------------------
Version 194:
* http::async_read returns the right byte count on error
2018-11-27 10:24:24 -08:00
* Add net namespace alias
* Don't use-after-free in test
* Tidy up ssl_stream (experimental)
* Dynamic buffer improvements
2018-12-01 04:37:24 -08:00
* Saved handlers are dispatched
--------------------------------------------------------------------------------
Version 193:
* Update ssl_stream signatures for networking changes
* Fix test::stream async_result transformation
* Tidy up test::stream
* Enable explicit instantiation of websocket::stream
--------------------------------------------------------------------------------
2018-11-26 13:47:30 -08:00
Version 192:
* Use mp11::integer_sequence
* Tidy up warnings and deprecated usage
* http::message is not-a boost::empty_value
2018-11-22 21:04:28 -08:00
* Fix link in docs
* Fixes to timeout services (experimental)
--------------------------------------------------------------------------------
Version 191:
* Add bind_front_handler
* Use bind_front_handler
* Simplify some type traits
* Use lean_tuple in buffers_cat
* Use lean_tuple in bind_handler, bind_front_handler
* Use mp11 in detail::variant
* Fix buffers_cat uninitialized warning
* Fix static_string uninitialized warning
2018-11-22 18:31:57 -08:00
* Fix warning in is_ssl_handshake
--------------------------------------------------------------------------------
Version 190:
* Add missing includes to convenience headers
2018-11-11 11:52:37 -08:00
* Unit test framework is experimental
2018-11-11 20:59:57 -08:00
* Add buffers_range
2018-11-11 14:07:55 -08:00
* Rename experimental directory
* Improve compilation of tests for continuous integration
2018-11-20 20:51:38 -08:00
* Fix visibility warnings in test
--------------------------------------------------------------------------------
2018-11-26 12:04:55 -08:00
Version 189-hf1:
2018-11-26 12:04:03 -08:00
* Fix broken doc link
2018-11-22 17:28:57 -08:00
* example/cppcon2018 only requires C++11
2018-11-26 12:04:03 -08:00
--------------------------------------------------------------------------------
Version 189:
* Add CppCon2018 chat server example and video
--------------------------------------------------------------------------------
Version 188:
* Remove extraneous strand from example
* Add missing include in http/read.ipp
* Test for gcc warning bug
* Fix a spurious gcc warning
--------------------------------------------------------------------------------
Version 187:
* Add experimental timeout_socket
2018-10-28 19:41:37 -07:00
* Fix warning in file tests
* Fix uninitialized comparison in buffers iterator
* Partial support for BOOST_NO_EXCEPTIONS
2018-11-02 08:32:10 -07:00
* Fix a spurious gcc warning
2018-11-03 07:53:37 -07:00
* Test for gcc warning bug
* Add missing include
* Remove extraneous strand from example
--------------------------------------------------------------------------------
Version 186:
* basic_fields uses intrusive base hooks
* Fix parsing of out-of-bounds hex values
--------------------------------------------------------------------------------
2018-10-07 18:35:53 -07:00
Version 185:
2018-09-25 06:13:12 -07:00
* Remove extraneous function
* Fix some typos
* Add BOOST_BEAST_USE_STD_STRING_VIEW
* Fix timer on websocket upgrade in examples
2018-09-25 06:13:12 -07:00
--------------------------------------------------------------------------------
Version 183:
* Fix a rare case of failed UTF8 validation
* Verify certificates in client examples
2018-08-24 22:12:39 -04:00
* Use boost::empty_value
* Workaround for http-server-fast and libstdc++
--------------------------------------------------------------------------------
2018-08-02 07:20:12 -07:00
Version 182:
* Silence ubsan false positive
--------------------------------------------------------------------------------
2018-07-30 01:28:48 +03:00
Version 181:
* Fix parse_dec algorithm
2018-07-29 17:02:10 -07:00
* Add parse_dec tests
2018-07-30 01:28:48 +03:00
--------------------------------------------------------------------------------
Version 180:
* Fix http_server_stackless_ssl.cpp example
--------------------------------------------------------------------------------
Version 179:
* Use the exchange() idiom in move constructors
* Most members of std::allocate are deprecated in C++17
2018-07-17 19:20:23 -04:00
* Remove some unused variables
--------------------------------------------------------------------------------
2018-07-15 08:32:52 -07:00
Version 178:
2018-07-15 08:57:08 -07:00
* Use static_cast instead
2018-07-15 08:32:52 -07:00
--------------------------------------------------------------------------------
2018-07-12 08:49:25 -07:00
Version 177:
* Add test for issue #1188
2018-07-12 08:50:54 -07:00
* Set /permissive-
* Check error in example set_option
2018-07-12 08:49:25 -07:00
--------------------------------------------------------------------------------
2018-07-04 14:35:59 -07:00
Version 176:
* Tidy up Quick Reference
* Fix array end calculation in utf8 assertion
* WebSocket masks use secure PRNG by default
2018-07-04 14:35:59 -07:00
--------------------------------------------------------------------------------
2018-07-03 10:16:35 -07:00
Version 175:
* Fix initialization warning
--------------------------------------------------------------------------------
2018-06-17 12:12:38 -07:00
Version 174:
* Fix Fields, FieldsWriter concept docs
* Fix BodyReader constructor requirements doc
2018-06-17 12:12:38 -07:00
--------------------------------------------------------------------------------
2018-05-31 06:27:00 -07:00
Version 173:
* Remove Autobahn testsuite doc note
* Fix buffers_adapter iterator value type
2018-06-08 15:32:47 -07:00
* Fix buffers_adapter max_size
2018-06-09 10:11:42 -07:00
* Fix buffers_prefix iterator decrement
* buffers_adapter improvements
* Add icy_stream Shoutcast stream filter
2018-05-31 06:27:00 -07:00
--------------------------------------------------------------------------------
Version 172:
* Tidy up websocket stream javadocs
* Fix move-only arguments in bind_handler
2018-05-28 11:23:37 -07:00
* Fix http::parser constructor javadoc
2018-05-29 15:31:42 -07:00
* Tidy up test::stream javadocs
* Tidy up composed operation doc
--------------------------------------------------------------------------------
Version 171:
* Add handler_ptr::has_value
2018-05-18 16:45:58 -07:00
* Remove spurious assert
2018-05-18 16:47:14 -07:00
* Fix unused variable warning
--------------------------------------------------------------------------------
Version 170:
* Add flat_stream to experimental
* Add ssl_stream to experimental
2018-05-01 12:39:47 -07:00
* Add test::error to experimental
2018-05-01 14:19:35 -07:00
* Add test::fail_count to experimental
2018-05-02 08:30:29 -07:00
* Add test::stream to experimental
* Use a shared string for example HTTP server doc roots
* Remove deprecated serializer::reader_impl()
* Remove deprecated Body reader and writer ctor signatures
* Add is_mutable_body_writer metafunction
* Add const and non-const overloads for message based http writes
* Use the root certificate which matches the fingerprint
--------------------------------------------------------------------------------
Version 169:
* Use buffers_to_string in tests
2018-04-24 15:14:15 -07:00
* Use boost::void_t
* Refactor HTTP write_op implementation
* Use fully qualified namespace in BOOST_BEAST_HANDLER_INIT
* New flat_stream example class
* Use flat_stream in ssl_stream example code
--------------------------------------------------------------------------------
Version 168:
* Use executor_work_guard in composed operations
* Revert verb.ipp change which caused spurious warnings
* Fix race in advanced server examples
--------------------------------------------------------------------------------
Version 167:
* Revert: Tidy up calls to post()
--------------------------------------------------------------------------------
Version 166:
* Use boost::is_convertible as a workaround
--------------------------------------------------------------------------------
2018-03-11 19:18:46 +00:00
Version 165:
* Fix BOOST_NO_CXX11_ALLOCATOR check
--------------------------------------------------------------------------------
2018-03-09 07:51:33 -08:00
Version 164:
* Fix masking on continuation frames
2018-03-09 07:52:29 -08:00
* Add Access-Control-Expose-Headers field constant
2018-03-09 07:51:33 -08:00
--------------------------------------------------------------------------------
2018-03-04 13:19:17 -08:00
Version 163:
* Tidy up calls to post()
* Fix narrowing warnings
2018-03-04 13:19:17 -08:00
--------------------------------------------------------------------------------
Version 162:
* Add asio_handler_invoke overloads for stream algorithms
* Improve websocket::stream::control_callback javadoc
--------------------------------------------------------------------------------
Version 161:
* Don't copy the handler in write_some_op
2018-02-28 13:36:47 -08:00
* Add move-only handler tests
2018-02-28 13:41:58 -08:00
* Fix handler parameter javadocs
--------------------------------------------------------------------------------
Version 160:
* Examples clear the HTTP message before reading
--------------------------------------------------------------------------------
2018-02-22 20:32:43 -08:00
Version 159:
* Fix typo in release notes
* Safe treatment of zero-length string arguments in basic_fields
* Some basic_fields operations now give the strong exception guarantee
2018-02-22 20:32:43 -08:00
--------------------------------------------------------------------------------
Version 158:
* Tidy up end_of_stream javadoc
2018-02-21 12:05:08 -08:00
* Tidy up websocket docs
* Examples set reuse_address(true)
* Advanced servers support clean shutdown via SIGINT or SIGTERM
* DynamicBuffer input areas are not mutable
2018-02-21 13:58:33 -08:00
* Tidy up some documentation
API Changes:
* get_lowest_layer is a type alias
Actions required:
* Replace instances of `typename get_lowest_layer<T>::type`
with `get_lowest_layer<T>`.
--------------------------------------------------------------------------------
Version 157:
* Fix teardown for TIME_WAIT
* Fix big-endian websocket masking
--------------------------------------------------------------------------------
2018-02-18 18:46:12 -08:00
Version 156:
* Don't use typeid
2018-02-17 10:01:29 -08:00
* Add release notes to documentation
2018-02-19 14:02:53 -08:00
* Fix stale link for void-or-deduced
2018-02-18 18:46:12 -08:00
--------------------------------------------------------------------------------
Version 155:
* Fix memory leak in advanced server examples
* Fix soft-mutex assert in websocket stream
2018-02-13 11:54:44 +01:00
* Fix fallthrough warnings
2018-02-16 10:47:36 -08:00
* Tidy up bind_handler doc
--------------------------------------------------------------------------------
Version 154:
* Type check completion handlers
2018-01-26 10:12:15 -08:00
* bind_handler doc update
* bind_handler works with boost placeholders
--------------------------------------------------------------------------------
2018-01-05 17:46:34 -08:00
Version 153:
* Remove BOOST_VERSION checks
* Use make_error_code for setting an error_code from errc
* Use boost::winapi::GetLastError() consistently
2018-01-12 13:00:09 -08:00
* Update README.md for branches
* Avoid string_view::clear
* Fix iterator version of basic_fields::erase
* Fix use-after-move in example request handlers
2018-01-24 13:40:17 -08:00
* Add Bishop Fox interview media
2018-01-05 17:46:34 -08:00
--------------------------------------------------------------------------------
Version 152:
* Refactor detect_ssl_op
2018-01-12 08:19:06 -08:00
* Disable gdb on Travis for Meltdown
WebSocket:
* Redistribute the read tests in the translation units
* Refactor error headers
* Add WebSocket error conditions
API Changes:
* Refactor WebSocket errors (API Change):
Actions Required:
* Code which explicitly compares error_code values against the
constant `websocket::error::handshake_failed` should compare
against `websocket::condition::handshake_failed` instead.
* Code which explicitly compares error_code values against the
constant `websocket::error::failed` should compare
against `websocket::condition::protocol_violation` instead.
--------------------------------------------------------------------------------
2017-12-21 13:10:17 -08:00
Version 151:
* Sanitizer failures are errors
2017-12-30 07:11:25 -08:00
* Depend on container_hash
2017-12-30 09:00:02 -08:00
* Fix high-ASCII in source file
2017-12-21 13:10:17 -08:00
WebSocket:
* Control callback is invoked on the execution context
2017-12-29 09:25:18 -08:00
* Add stream_fwd.hpp
2017-12-29 09:26:29 -08:00
* Remove unnecessary include
API Changes:
* http::parser is not MoveConstructible
* permessage-deflate is a compile-time feature
2017-12-21 13:10:17 -08:00
--------------------------------------------------------------------------------
Version 150:
* handler_ptr tests
2017-12-15 09:00:44 -08:00
* Documentation
API Changes:
* serializer::reader_impl is deprecated
Actions Required:
* Call serializer::writer_impl instead of reader_impl
--------------------------------------------------------------------------------
Version 149:
* built-in r-value return values can't be assigned
* Tidy up ssl_stream special members
2017-12-02 11:22:51 -08:00
* Fix CMakeLists.txt variable
* Protect calls from macros
* pausation always allocates
* Don't copy completion handlers
* handler_ptr is move-only
* Fix Travis memory utilization
API Changes:
* handler_ptr gives the strong exception guarantee
Actions Required:
* Change the constructor signature for state objects
used with handler_ptr to receive a const reference to
the handler.
--------------------------------------------------------------------------------
Version 148:
* Install codecov on codecov CI targets only
2017-12-01 12:11:41 -08:00
* Update reports for hybrid assessment
* Handle invalid deflate frames
--------------------------------------------------------------------------------
2017-11-26 14:01:49 -08:00
Version 147:
* Don't use boost::string_ref
* Use iterator wrapper in detail::buffers_range
2017-11-26 14:01:49 -08:00
HTTP:
* Tidy up basic_fields exception specifiers
WebSocket:
* control callback is copied or moved
* Send idle pings in advanced servers
2017-11-26 14:01:49 -08:00
--------------------------------------------------------------------------------
2017-11-21 11:50:15 +09:00
Version 146:
* Fix some typos
2017-11-21 09:55:48 -08:00
* Faster ascii_tolower
2017-11-22 10:29:12 -08:00
* Documentation tidying
2017-11-25 23:43:15 +03:00
* Fix typo in examples documentation
* Add detail::aligned_union and tidy up
2017-11-26 09:55:31 -08:00
* Use variant in buffers_cat_view
2017-11-21 11:50:15 +09:00
API Changes:
* Remove unintended public members of handler_ptr
2017-11-21 11:50:15 +09:00
--------------------------------------------------------------------------------
2017-11-18 11:31:17 -08:00
Version 145:
* Rename some detail functions
* Refactor basic_fields allocator internals
* Refactor HTTP async read composed operations
2017-11-20 11:48:57 -08:00
* null_buffers is deprecated
* Version 124 works with Boost 1.65.1 and earlier
* basic_fields does not support fancy pointers
2017-11-18 11:31:17 -08:00
--------------------------------------------------------------------------------
2017-12-01 12:11:41 -08:00
Version 144-hf1:
* Update reports for hybrid assessment
* Handle invalid deflate frames
* Install codecov on codecov CI targets only
2017-12-01 12:11:41 -08:00
--------------------------------------------------------------------------------
Version 144:
* Fix websocket permessage-deflate negotiation
--------------------------------------------------------------------------------
2017-11-13 12:18:13 -08:00
Version 143:
* Fix autobahn report link
--------------------------------------------------------------------------------
Version 142:
* Warn about upcoming API changes to certain concepts
2017-11-11 09:40:10 -08:00
* Fix name typo in http write test
--------------------------------------------------------------------------------
Version 141:
* Tidy up some documentation
--------------------------------------------------------------------------------
Version 140:
* Fix some integer warnings in 64-bit builds
2017-11-07 16:37:09 -05:00
* Fix utf8_checker test failures
* Fix signature for async_read_some, and tests
* Tidy up basic_parser
* Some basic_fields special members are protected
--------------------------------------------------------------------------------
Version 139:
* Revisit boost library min/max guidance
--------------------------------------------------------------------------------
2017-11-05 09:29:33 -08:00
Version 138:
* Tidy up some documentation
--------------------------------------------------------------------------------
Version 137:
* ConstBufferSequence mandates pointer equivalence
* Add FieldsWriter constructor requirement
* Tidy up some documented constructor syntax
--------------------------------------------------------------------------------
2017-11-02 15:52:57 -07:00
Version 136:
* Tidy up message doc image
--------------------------------------------------------------------------------
2017-11-01 11:31:03 -07:00
Version 135:
* Fix typo in example server help text
--------------------------------------------------------------------------------
Version 134:
* Add static_buffer_base default constructor definition
--------------------------------------------------------------------------------
Version 133:
* Remove const&& overload of message::body
--------------------------------------------------------------------------------
Version 132:
* Tidy up project folders in CMakeLists.txt
2017-10-30 08:57:31 -07:00
* Rename Cmake variables for clarity
* Add ref-qualified overloads for message::body
2017-10-30 15:31:00 -07:00
* Tidy up FieldsReader doc
API Changes:
* Fields::writer replaces Fields::reader
* BodyReader and BodyWriter names are swapped
Actions Required:
* Rename reader to writer for user defined Fields
* Swap the reader and writer names for user defined Body types
* Swap use of is_body_reader and is_body_writer
--------------------------------------------------------------------------------
2017-10-29 06:45:33 -07:00
Version 131:
* basic_fields returns const values
* Set SNI hostname in example SSL clients
2017-10-29 06:45:33 -07:00
--------------------------------------------------------------------------------
2017-10-27 16:05:09 -07:00
Version 130:
* Tidy up fallthrough warning
* Remove cxx11_sfinae_expr build requirement from tests
2017-10-27 16:05:09 -07:00
--------------------------------------------------------------------------------
2017-10-26 11:08:24 -07:00
Version 129:
* Add autobahn test report to doc
2017-10-26 16:05:50 -07:00
* Documentation tidying
* Fix prepare_payload: chunked is HTTP/1.1
2017-10-26 11:08:24 -07:00
--------------------------------------------------------------------------------
2017-10-25 17:08:26 -07:00
Version 128:
* Update doc links
2017-10-26 08:13:32 -07:00
* Add explicit-failures-markup.xml
2017-10-25 17:08:26 -07:00
2017-10-25 18:41:04 -07:00
HTTP:
* Add message::need_eof
* Use message::need_eof in example servers
* Use synchronous writes in chunk output example
2017-10-25 18:41:04 -07:00
2017-10-25 23:23:59 -07:00
WebSocket:
* Fix utf8 validation for autobahn
* Temporarily disable utf8 validation tests
* Tidy up fast websocket server host names
2017-10-25 23:23:59 -07:00
API Changes:
* Remove serializer::keep_alive
* Remove serializer::chunked
* Add has_content_length_impl to Fields
* Add message::has_content_length
* Rename some basic_parser observers
Actions Required:
* Call message::keep_alive instead of serializer::keep_alive
* Call serializer::get::chunked instead of serializer::chunked
* Implement has_content_length_impl for user-defined Fields
* Remove the "is_" prefix from call sites invoking certain basic_parser members
2017-10-25 17:08:26 -07:00
--------------------------------------------------------------------------------
2017-10-25 10:05:36 -07:00
Version 127:
* Add BOOST_BEAST_NO_POSIX_FADVISE
* Version command line option for HTTP client examples
* More Jamfile compiler requirements for tests
2017-10-25 10:05:36 -07:00
--------------------------------------------------------------------------------
2017-10-23 17:54:33 -07:00
Version 126:
* Add CppCon2017 presentation link
2017-10-23 18:03:29 -07:00
* Update README.md
* Update stream write documentation for end of stream changes
2017-10-23 20:17:56 -07:00
* Tidy up unused variable warnings
* Don't return end_of_stream on win32 file body writes
2017-10-23 12:06:04 -07:00
* Fix doc typo
2017-10-24 06:20:42 -07:00
* Fix shadowing in session_alloc
2017-10-24 06:40:22 -07:00
* Fix executor type compilation
* Add Travis tests with the default compilers
* Update Boost.WinAPI usage to the new location and namespace.
* Fix buffered_read_stream async_read_some signature
2017-10-23 17:54:33 -07:00
--------------------------------------------------------------------------------
Version 125:
API Changes:
* Update for Net-TS Asio
Actions Required:
* Use BOOST_ASIO_HANDLER_TYPE instead of handler_type
* Use BOOST_ASIO_INITFN_RESULT_TYPE instead of async_result
* Use boost::asio::async_completion
* Use boost::asio::is_dynamic_buffer
* Use boost::asio::is_const_buffer_sequence
* Use boost::asio::is_mutable_buffer_sequence
* boost::asio::associated_allocator_t replaces handler_alloc
--------------------------------------------------------------------------------
Version 124:
2017-10-21 17:39:24 -07:00
* Fix for a test matrix compiler
2017-10-22 07:21:54 -07:00
* Fix basic_fields javadoc
2017-10-21 17:39:24 -07:00
API Changes:
* http write returns success on connection close
Actions Required:
* Add code to servers to close the connection after successfully
writing a message where `message::keep_alive()` would return `false`.
--------------------------------------------------------------------------------
2017-10-15 08:59:17 -07:00
Version 123:
* Use unit-test subtree
* Fix spurious race in websocket close test
2017-10-16 07:23:33 -07:00
* Check compiler feature in Jamfile
* Clear previous message fields in parser
2017-10-15 08:59:17 -07:00
--------------------------------------------------------------------------------
2017-10-05 19:23:43 -07:00
Version 122:
* Add test for issue 807
* assert on empty buffer in websocket read
2017-10-07 11:17:00 -07:00
* Fix zlib symbol conflicts
2017-10-09 14:35:46 -07:00
* CMake 3.5.1 is required
2017-10-10 07:49:03 -07:00
* config.hpp is not a public header
2017-10-10 08:17:16 -07:00
* Add missing case in error test
2017-10-05 19:23:43 -07:00
--------------------------------------------------------------------------------
2017-10-03 05:29:01 -07:00
Version 121:
* Add test for issue 802
* Fix enum and non-enum in conditional exp. warning
2017-10-03 05:29:01 -07:00
--------------------------------------------------------------------------------
Version 120:
* Fix spurious strand_ in advanced_server_flex
2017-10-01 10:33:49 -07:00
* OpenSSL targets are optional (CMake)
--------------------------------------------------------------------------------
2017-09-30 07:25:33 -07:00
Version 119:
* Tidy up doc badge links
--------------------------------------------------------------------------------
2017-09-21 17:28:04 +02:00
Version 118:
* file_win32 opens for read-only in shared mode
* Remove unused strands in server examples
2017-09-25 20:43:37 -07:00
* Update build instructions
2017-09-25 21:18:04 -07:00
* Doc root is at index.html
2017-09-21 17:28:04 +02:00
HTTP:
* Fix writing header into std::ostream
--------------------------------------------------------------------------------
Version 117:
2017-09-15 15:17:07 -07:00
* Add buffers_to_string
API Changes:
* buffers_suffix replaces consuming_buffers
* buffers_prefix replaces buffer_prefix
* buffers_prefix_view replaces buffer_prefix_view
* buffers_front replaces buffer_front
* buffers_cat replaces buffer_cat
* buffers_cat_view replaces buffer_cat_view
* Remove buffers_suffix::get
Actions Required:
* Use buffers_suffix instead of consuming_buffers
* Use buffers_prefix instead of buffer_prefix
* Use buffers_prefix_view instead of buffer_prefix_view
* Use buffers_front instead of buffer_front
* Use buffers_cat instead of buffer_cat
* Use buffers_cat_view instead of buffer_cat_view
* Avoid calling buffers_suffix::get
--------------------------------------------------------------------------------
Version 116:
API Changes:
* message::body is a member function
* message::version is a member function
Actions Required:
* Call member function message::body instead of accessing
the data member at call sites.
* Call member function message::version instead of accessing
the version member at call sites.
--------------------------------------------------------------------------------
2017-09-10 16:10:21 -07:00
Version 115:
* Update README.md master doc link
--------------------------------------------------------------------------------
2017-09-10 14:35:52 -07:00
Version 114:
(No changes)
--------------------------------------------------------------------------------
Version 113:
* Fix handler signature in async_read_header
* Remove field_range copy constructor
--------------------------------------------------------------------------------
Version 112:
2017-09-03 18:39:15 -07:00
* Update websocket notes
API Changes:
* WebSocket writes return the bytes transferred
* HTTP reads and writes return bytes transferred
Actions Required:
* Modify websocket write completion handlers to receive
the extra std::size_t bytes_transferred parameter.
* Modify HTTP read and/or write completion handlers to
receive the extra std::size_t bytes_transferred parameter.
--------------------------------------------------------------------------------
Version 111:
WebSocket:
* Fix utf8 check split code point at buffer end
* Refactor stream operations and tests plus coverage
2017-08-31 17:10:34 -07:00
* Suspended ops special members
--------------------------------------------------------------------------------
2017-08-26 14:58:20 -07:00
Version 110:
* Refactor stream open state variable
2017-08-26 15:18:02 -07:00
* Refactor websocket stream members
* Refactor websocket stream: fixes and tests
* Add test::stream::lowest_layer
* Fix invalid iterator in test reporter
2017-08-26 14:58:20 -07:00
--------------------------------------------------------------------------------
2017-08-18 11:12:12 -07:00
Version 109:
2017-08-21 14:45:58 -07:00
* refactor test::stream
2017-08-18 11:12:12 -07:00
WebSocket:
* Fix async_read_some handler signature
2017-08-17 22:38:50 -07:00
* websocket close fixes and tests
2017-08-19 19:27:08 -07:00
* websocket handshake uses coroutine
2017-08-19 19:39:54 -07:00
* websocket ping tests
2017-08-22 18:08:46 -07:00
* Fix websocket close_op resume state
2017-08-22 18:08:56 -07:00
* websocket write tests
2017-08-24 06:21:30 -07:00
* split up websocket tests
2017-08-24 07:41:27 -07:00
* websocket read tests
2017-08-18 11:12:12 -07:00
API Changes:
* websocket accept refactoring
Actions Required:
* Do not call websocket accept overloads which take
both a message and a buffer sequence, as it is
illegal per rfc6455.
2017-08-18 11:12:12 -07:00
--------------------------------------------------------------------------------
Version 108:
* Fix argument parsing in HTTP examples
* Don't use async_write_msg in examples
--------------------------------------------------------------------------------
2017-08-15 12:49:02 -07:00
Version 107:
2017-08-15 22:20:13 -07:00
* Use test::stream
2017-08-15 12:49:02 -07:00
WebSocket
* Fix done state for WebSocket reads
2017-08-15 16:33:25 -07:00
* Fix utf8 check for compressed frames
* Rename frame and header buffer types
2017-08-15 12:49:02 -07:00
--------------------------------------------------------------------------------
2017-08-14 15:29:33 -07:00
Version 106:
* Dynamic buffer input areas are mutable
2017-08-13 06:48:24 -07:00
* Add flat_static_buffer::reset
2017-08-14 15:29:33 -07:00
HTTP:
* Fix for basic_parser::skip(true) and docs
2017-08-12 15:03:39 -07:00
WebSocket:
* websocket test improvements
2017-08-12 15:56:08 -07:00
* Remove obsolete write_op
2017-08-12 20:50:23 -07:00
* Refactor write_op
2017-08-13 06:48:38 -07:00
* Refactor ping_op
2017-08-13 07:40:47 -07:00
* Refactor fail_op
2017-08-13 08:00:36 -07:00
* Refactor read_op
2017-08-13 09:45:49 -07:00
* Refactor close_op
2017-08-13 10:59:23 -07:00
* Refactor read_op + fail_op
* Websocket close will automatically drain
2017-08-13 17:25:48 -07:00
* Autobahn|Testsuite fixes
2017-08-13 20:46:01 -07:00
* Tidy up utf8_checker and tests
2017-08-12 15:03:39 -07:00
2017-08-14 15:29:33 -07:00
--------------------------------------------------------------------------------
2017-08-10 16:27:49 -07:00
Version 105:
* Fix compile error in websocket snippet
2017-08-10 17:44:21 -07:00
* Tidy up Jamfile and tests
2017-08-10 16:27:49 -07:00
--------------------------------------------------------------------------------
2017-08-09 13:48:38 -07:00
Version 104:
* Remove unused include
2017-08-09 16:29:06 -07:00
* Use #error in config.hpp
2017-08-09 16:32:06 -07:00
* Only set -std=c++11 on Travis
2017-08-09 17:17:33 -07:00
* Only set /permissive- on Appveyor
2017-08-09 17:13:56 -07:00
* Tidy up some test warnings
2017-08-09 18:06:35 -07:00
* tools/ renamed from build/
2017-08-09 13:48:38 -07:00
2017-08-09 18:47:43 -07:00
WebSocket:
* Fix pausation::save
2017-08-09 13:48:38 -07:00
--------------------------------------------------------------------------------
2017-08-08 07:17:24 -07:00
Version 103:
* Boost test matrix fixes
2017-08-08 09:17:24 -07:00
* Tidy up allocator usage
2017-08-08 17:38:48 -07:00
* Example HTTP server fixes
2017-08-08 07:17:24 -07:00
--------------------------------------------------------------------------------
2017-08-08 06:20:24 -07:00
Version 102:
* Section headings in examples
--------------------------------------------------------------------------------
Version 101:
* Refactor all examples
--------------------------------------------------------------------------------
2017-08-03 07:47:49 -07:00
Version 100:
* Fix doc convenience includes
2017-08-03 08:53:12 -07:00
* Fix doc includes
2017-08-01 16:48:10 -07:00
* Remove unused test header
2017-08-01 16:52:33 -07:00
* Rename test macros
2017-08-01 17:01:57 -07:00
* Reorder define test macro params
* vcxproj workaround for include symlinks
2017-08-03 04:43:38 -07:00
* Add variadic min/max
2017-08-03 07:47:49 -07:00
2017-08-01 20:31:01 -07:00
WebSocket:
* Remove obsolete frame tests
2017-08-02 13:25:53 -07:00
* Refactor fail/clode code
2017-08-02 14:46:08 -07:00
* Call do_fail from read_some
2017-08-02 16:45:54 -07:00
* eof on accept returns error::closed
2017-08-02 19:36:31 -07:00
* Fix stream::read_size_hint calculation
2017-08-04 18:10:18 -07:00
* Documentation
2017-08-01 20:31:01 -07:00
API Changes:
* Calls to stream::close and stream::async_close will
automatically perform the required read operations
* drain_buffer is removed
* role_type replaces teardown_tag
Actions Required:
* Remove calling code which drains the connection after
calling stream::close or stream::async_close
* Replace code which uses drain_buffer. For websocket::stream,
it is no longer necessary to manually drain the connection
after closing.
* Modify signatures of teardown and async_teardown to use
role_type instead of teardown_tag
* Change calls to teardown and async_teardown to pass the
correct role_type, client or server, depending on context.
2017-08-03 07:47:49 -07:00
--------------------------------------------------------------------------------
Version 99:
* Log the value of LIB_DIR for doc builds (debug)
* Use correct handler signature in fail_op
2017-08-01 20:33:50 -07:00
* Fix doc typo
--------------------------------------------------------------------------------
Version 98:
* basic_fields::key_compare is noexcept
2017-08-01 06:18:13 -07:00
* Fix bench-zlib cmake
2017-08-01 18:11:51 +01:00
* Use unique names Jam projects
2017-08-01 14:00:51 -04:00
* Trim utf8 checker test
--------------------------------------------------------------------------------
Version 97:
* Update redirect
--------------------------------------------------------------------------------
2017-07-30 17:14:47 -07:00
Version 96:
* Move bench/ to test/
2017-07-30 17:41:17 -07:00
* Move extras/ to test/
2017-07-31 14:09:23 -07:00
* Use <valgrind> property
2017-07-31 14:26:30 -07:00
* Rename wsload compile target
2017-07-31 15:31:36 -07:00
* Fix library.json
2017-07-31 15:52:11 -07:00
* Update boostorg links
2017-07-31 15:27:41 -07:00
* Add bench-zlib
2017-07-31 18:40:14 -07:00
* Faster zlib tests
2017-07-31 18:48:22 -07:00
* Less compression on websocket test
2017-07-30 17:14:47 -07:00
--------------------------------------------------------------------------------
2017-07-29 12:52:39 -07:00
Version 95:
* Tidy up Travis build scripts
* Move scripts to build/
2017-07-29 13:03:34 -07:00
* Fix race in test::pipe
2017-07-29 13:46:33 -07:00
* close on test::pipe teardown
2017-07-29 17:47:04 -07:00
* Add test::stream
2017-07-29 21:22:26 -07:00
* Tidy up static_buffer braced init
2017-07-31 08:29:06 -07:00
* Fix html redirect
* Add valgrind variant, fix false positives
2017-07-29 12:52:39 -07:00
--------------------------------------------------------------------------------
Version 94:
* Use off-site Quick Start link temporarily
--------------------------------------------------------------------------------
Version 93:
* Unset BOOST_COROUTINES_NO_DEPRECATION_WARNING
--------------------------------------------------------------------------------
2017-07-29 03:38:28 -07:00
Version 92:
* Fix typo in test/CMakeLists.txt
* basic_fields::value_type is not copyable
* Update repository links in source comments
* Ignore Content-Length in some cases
2017-07-29 12:41:48 -07:00
* Tidy up doc snippet paths
2017-07-29 12:42:04 -07:00
* Use off-site doc link
2017-07-29 03:38:28 -07:00
--------------------------------------------------------------------------------
2017-07-27 08:13:17 -07:00
Version 91:
* Adjust redirect html
2017-07-27 06:39:07 -07:00
* Don't build pre-C++11
2017-07-27 11:20:38 -07:00
* source.dox is path-independent
2017-07-27 12:00:50 -07:00
* Tidy up namespace qualifiers
2017-07-27 12:15:17 -07:00
* Tidy up MSVC CMakeLists.txt
2017-07-27 13:08:59 -07:00
* Optimize buffered_read_stream
2017-07-27 15:54:59 -07:00
* constexpr in derived buffers
2017-07-27 17:32:08 -07:00
* Set BOOST_ASIO_NO_DEPRECATED
* Use Asio array optimization in static_buffer_base
2017-07-27 21:05:49 -07:00
* Rename wstest source file
2017-07-28 08:36:46 -07:00
* Use fopen_s on Windows
2017-07-28 08:19:56 -07:00
* Fix Appveyor script
2017-07-28 10:12:23 -07:00
* Update project metadata
2017-07-28 13:24:39 -07:00
* Move benchmarks to bench/
2017-07-28 19:12:44 -07:00
* Fix doc title
2017-07-28 19:15:55 -07:00
* Build stand-alone doc
2017-07-28 19:32:33 -07:00
* Update doc copyrights
2017-07-28 18:59:14 -07:00
* Refactor test build scripts
2017-07-27 08:13:17 -07:00
2017-07-25 10:35:16 -07:00
WebSocket:
* Tidy up websocket javadocs
2017-07-27 14:14:47 -07:00
* Refactor accept, handshake ops
* Use read buffer instead of buffered stream
2017-07-25 10:35:16 -07:00
API Changes
* control frame callbacks are non-const references
Actions Required:
* Modify calls to set the control frame callback, to
pass non-const reference instances, and manage the
lifetime of the instance.
2017-07-27 08:13:17 -07:00
--------------------------------------------------------------------------------
Version 90:
* Fix websocket read of zero length message
2017-07-27 19:56:15 -07:00
* Fix typo in equal_range
2017-07-28 16:26:17 -07:00
* Output to integrated documentation
--------------------------------------------------------------------------------
2017-07-27 10:14:06 -07:00
Version 89:
* Fix CONTRIBUTING.md links
--------------------------------------------------------------------------------
2017-07-26 18:44:29 -07:00
Version 88:
* Update doc links in README.md
* Refactor tests Jamfile
* Don't use program_options
WebSocket:
* Fix uninitialized frame done
--------------------------------------------------------------------------------
2017-07-25 11:16:08 -07:00
Version 87:
* Update appveyor for Boost branch
2017-07-25 12:35:54 -07:00
* Rename to BEAST_EXPECT
2017-07-25 11:20:01 -07:00
* variant fixes and tests
* Update README, add CONTRIBUTING.md and CODE_OF_CONDUCT.md
2017-07-25 11:16:08 -07:00
--------------------------------------------------------------------------------
2017-07-20 13:40:34 -07:00
Version 86:
* Boost prep
2017-07-21 08:55:25 -07:00
* Remove use of lexical_cast
2017-07-20 22:54:54 -07:00
* Use custom variant
2017-07-23 08:01:02 -07:00
* Update README.md
2017-07-23 17:14:01 -07:00
* Add local-travis.sh
2017-07-23 17:33:24 -07:00
* Use winapi
2017-07-23 17:48:27 -07:00
* Update CMakeLists.txt for boost
2017-07-23 22:49:57 -07:00
* Update documentation for boost
2017-07-24 09:42:36 -07:00
* Update copyrights
2017-07-24 14:29:41 -07:00
* Remove spurious declaration
2017-07-24 16:07:28 -07:00
* Tidy up Jamfile
2017-07-24 13:24:15 -07:00
* Normalize doc build scripts
2017-07-25 14:50:04 +03:00
* Use configured doxygen and xsltproc
* Fix Deferred Body Type Example Documentation
2017-07-25 06:54:35 -07:00
* Add library metadata
2017-07-20 13:40:34 -07:00
API Changes:
* websocket read returns the number of bytes inserted
Actions Required:
* Change the signature of completion handlers used with
websocket::stream::async_read to void(error_code, std::size_t)
2017-07-20 13:40:34 -07:00
--------------------------------------------------------------------------------
2017-07-22 05:32:08 -07:00
Version 85:
* Fix test failure
2017-07-22 06:31:22 -07:00
* Tidy up test warning
2017-07-22 05:32:08 -07:00
--------------------------------------------------------------------------------
2017-07-18 17:01:19 -07:00
Version 84:
* Tidy up buffer_front
2017-07-17 08:12:30 -07:00
* static_buffer::consume improvement
2017-07-17 18:16:50 -07:00
* multi_buffer is type-check friendly
2017-07-19 09:50:16 -07:00
* bind_handler allows placeholders
2017-07-19 14:07:33 -07:00
* Add consuming_buffers::get
2017-07-18 17:01:19 -07:00
WebSocket:
* WebSocket read optimization
API Changes:
* websocket::stream::read_buffer_size is removed
Actions Required:
* Remove calls websocket::stream::read_buffer_size
* Use read_some and write_some instead of read_frame and write_frame
2017-07-18 17:01:19 -07:00
--------------------------------------------------------------------------------
2017-07-15 09:47:56 -07:00
Version 83:
* Add flat_static_buffer::mutable_data
2017-07-15 10:46:32 -07:00
* Add buffer_front
2017-07-15 17:05:00 -07:00
* Add wstest compression option
2017-07-15 18:59:59 -07:00
* Turn some flat_static_buffer_tests on
2017-07-16 10:20:21 -07:00
* Documentation work
* read_some, async_read_some return bytes used
2017-07-17 11:28:41 +00:00
* Fix private timer::clock_type
2017-07-15 09:47:56 -07:00
2017-07-15 18:31:43 -07:00
WebSocket
* Add wstest compression option
* Fix buffer lifetime in websocket write
API Changes:
* Add static_buffer
Actions Required:
* Callers who depend on static_buffer returning sequences of
exactly length one should switch to flat_static_buffer.
2017-07-15 09:47:56 -07:00
--------------------------------------------------------------------------------
Version 82:
2017-07-14 08:06:24 -07:00
* Documentation tidying
* is_invocable works with move-only types
* Use std::function and reference wrapper
2017-06-26 19:11:45 -07:00
* Add session_alloc to example/common
2017-07-15 03:33:37 -07:00
* Silence spurious warning
HTTP
* Fix extraneous argument in async_write_header
WebSocket
2017-07-14 12:36:47 -07:00
* stream tidying
* Add rd_close_ to websocket stream state
2017-07-14 12:36:47 -07:00
* stream uses flat_buffer
2017-07-14 13:00:09 -07:00
* accept requires a message
2017-07-14 17:35:37 -07:00
* Add wstest benchmark tool
2017-07-14 08:06:24 -07:00
API Changes:
* Rename to flat_static_buffer and flat_static_buffer_base
Actions Required:
* Rename static_buffer to flat_static_buffer_base
* Rename static_buffer_n to flat_static_buffer
2017-07-14 08:06:24 -07:00
--------------------------------------------------------------------------------
2017-07-12 16:35:52 -07:00
Version 81:
* Pass string_view by value
* better is_final on empty_base_optimization
* Suppress incorrect GCC warning
2017-07-12 16:59:12 -07:00
* multi_buffer ctor is explicit
2017-07-13 04:57:46 -07:00
* File is not copy-constructible
2017-07-12 16:35:52 -07:00
API Changes:
* Refactor basic_parser, chunk parsing:
Actions Required:
* Adjust signatures for required members of user-defined
subclasses of basic_parser
* Use the new basic_parser chunk callbacks for accessing
chunk extensions and chunk bodies.
2017-07-12 16:35:52 -07:00
--------------------------------------------------------------------------------
2017-07-12 07:05:27 -07:00
Version 80:
* Javadoc tidying
2017-07-12 07:53:43 -07:00
* Add basic_dynamic_body.hpp
2017-07-12 09:02:55 -07:00
* Shrink buffer_prefix_view
2017-07-12 09:43:58 -07:00
* Remove unused file_path
2017-07-12 10:33:59 -07:00
* Add basic_file_body.hpp
2017-07-10 17:53:30 -07:00
* buffers_ref is Assignable
Refactor chunked-encoding serialization: New buffer sequence classes are provided to allow full control over the serialization of chunk-encoded message payloads: * chunk_header A ConstBufferSequence representing the chunk header. It includes a hexadecimal-encoded size, an optional set of chunk extensions, and the trailing CRLF required to denote the end of the chunk header. This allows the caller to manually serialize the chunk body in one or more calls to a stream output function. The caller must also output an object of type `chunk_crlf` to the stream to indicate the end of the chunk body. * chunk_crlf A small ConstBufferSequence that simply represents the two character sequence "\r\n" (CRLF). This is needed for the case where the caller wants to output a chunk body as a series of buffers (i.e. "chunking a chunk"). * chunk_body A ConstBufferSequence representing a complete chunk. This includes the size, an optional set of chunk extensions, a caller provided buffer containing the body, and the required CRLF that follows. * chunk_final A ConstBufferSequence representing a final chunk. It includes an optional set of caller-provided field trailers * chunk_extensions A container for building a set of chunk extensions to use during serialization. The use of the container is optional, callers may provide their own buffer containing a correctly formatted set of chunk extensions, or they may use their own convenience container which meets the requirements. The basic_fields container is modified to allow construction outside the context of a message. The container can be used to provide trailers to `chunk_final`. Actions Required: * Remove references to ChunkDecorators. Use the new chunk-encoding buffer sequences to manually produce a chunked payload body in the case where control over the chunk-extensions and/or trailers is required.
2017-07-09 20:09:30 -07:00
HTTP
* Shrink chunk header buffer sequence size
2017-07-12 07:05:27 -07:00
Refactor chunked-encoding serialization: New buffer sequence classes are provided to allow full control over the serialization of chunk-encoded message payloads: * chunk_header A ConstBufferSequence representing the chunk header. It includes a hexadecimal-encoded size, an optional set of chunk extensions, and the trailing CRLF required to denote the end of the chunk header. This allows the caller to manually serialize the chunk body in one or more calls to a stream output function. The caller must also output an object of type `chunk_crlf` to the stream to indicate the end of the chunk body. * chunk_crlf A small ConstBufferSequence that simply represents the two character sequence "\r\n" (CRLF). This is needed for the case where the caller wants to output a chunk body as a series of buffers (i.e. "chunking a chunk"). * chunk_body A ConstBufferSequence representing a complete chunk. This includes the size, an optional set of chunk extensions, a caller provided buffer containing the body, and the required CRLF that follows. * chunk_final A ConstBufferSequence representing a final chunk. It includes an optional set of caller-provided field trailers * chunk_extensions A container for building a set of chunk extensions to use during serialization. The use of the container is optional, callers may provide their own buffer containing a correctly formatted set of chunk extensions, or they may use their own convenience container which meets the requirements. The basic_fields container is modified to allow construction outside the context of a message. The container can be used to provide trailers to `chunk_final`. Actions Required: * Remove references to ChunkDecorators. Use the new chunk-encoding buffer sequences to manually produce a chunked payload body in the case where control over the chunk-extensions and/or trailers is required.
2017-07-09 20:09:30 -07:00
API Changes:
* Refactor chunked-encoding serialization
Actions Required:
* Remove references to ChunkDecorators. Use the new chunk-encoding
buffer sequences to manually produce a chunked payload body in
the case where control over the chunk-extensions and/or trailers
is required.
2017-07-12 07:05:27 -07:00
--------------------------------------------------------------------------------
2017-07-11 08:48:05 -07:00
Version 79:
* Remove spurious fallthrough guidance
--------------------------------------------------------------------------------
2017-07-08 14:59:04 -07:00
Version 78:
2017-07-08 15:34:07 -07:00
* Add span
2017-07-08 19:25:30 -07:00
* Documentation work
2017-07-08 20:45:35 -07:00
* Use make_unique_noinit
2017-07-09 13:17:12 -07:00
* Fix warning in zlib
2017-07-09 13:36:13 -07:00
* Header file tidying
2017-07-09 13:42:53 -07:00
* Tidy up FieldsReader doc
* Add Boost.Locale utf8 benchmark comparison
* Tidy up dstream for existing Boost versions
2017-07-10 16:43:58 -07:00
* Tidy up file_posix unused variable
2017-07-10 16:51:10 -07:00
* Fix warning in root ca declaration
2017-07-08 15:34:07 -07:00
2017-07-08 14:59:04 -07:00
HTTP:
* Tidy up basic_string_body
2017-07-08 15:12:26 -07:00
* Add vector_body
2017-07-08 20:37:12 -07:00
* span, string, vector bodies are public
2017-07-09 13:00:03 -07:00
* Fix spurious uninitialized warning
* fields temp string uses allocator
API Changes:
* Add message::keep_alive()
* Add message::chunked() and message::content_length()
* Remove string_view_body
Actions Required:
* Change user defined implementations of Fields and
FieldsReader to meet the new requirements.
2017-07-08 14:59:04 -07:00
* Use span_body<char> instead of string_view_body
2017-07-08 14:59:04 -07:00
--------------------------------------------------------------------------------
Version 77:
* file_posix works without large file support
--------------------------------------------------------------------------------
Version 76:
* Always go through write_some
2017-07-07 17:47:24 -07:00
* Use Boost.Config
* BodyReader may construct from a non-const message
2017-07-07 09:16:51 -07:00
* Add serializer::get
2017-07-07 22:58:10 -07:00
* Add serializer::chunked
2017-07-07 23:49:02 -07:00
* Serializer members are not const
2017-07-07 23:25:23 -07:00
* serializing file_body is not const
* Add file_body_win32
* Fix parse illegal characters in obs-fold
2017-07-08 12:26:39 -07:00
* Disable SSE4.2 optimizations
API Changes:
* Rename to serializer::keep_alive
* BodyReader, BodyWriter use two-phase init
Actions Required:
* Use serializer::keep_alive instead of serializer::close and
take the logical NOT of the return value.
* Modify instances of user-defined BodyReader and BodyWriter
types to perform two-phase initialization, as per the
updated documented type requirements.
--------------------------------------------------------------------------------
Version 75:
* Use file_body for valid requests, string_body otherwise.
2017-07-06 21:17:57 -07:00
* Construct buffer_prefix_view in-place
2017-07-06 20:44:57 -07:00
* Shrink serializer buffers using buffers_ref
* Tidy up BEAST_NO_BIG_VARIANTS
* Shrink serializer buffers using buffers_ref
2017-07-06 20:58:07 -07:00
* Add serializer::limit
2017-07-08 06:31:49 -07:00
* file_body tests
* Using SSE4.2 intrinsics in basic_parser if available
--------------------------------------------------------------------------------
2017-07-05 20:30:18 -07:00
Version 74:
* Add file_stdio and File concept
2017-07-06 02:04:19 -07:00
* Add file_win32
2017-07-05 22:08:31 -07:00
* Add file_body
2017-07-06 03:38:53 -07:00
* Remove common/file_body.hpp
2017-07-06 03:59:33 -07:00
* Add file_posix
* Fix Beast include directories for cmake targets
* remove redundant flush() from example
2017-07-05 20:30:18 -07:00
--------------------------------------------------------------------------------
Version 73:
2017-07-05 07:49:48 -07:00
* Jamroot tweak
2017-07-05 09:17:59 -07:00
* Verify certificates in SSL clients
2017-07-05 10:06:21 -07:00
* Adjust benchmarks
* Initialize local variable in basic_parser
2017-07-05 12:04:10 -07:00
* Fixes for gcc-4.8
2017-07-05 07:49:48 -07:00
HTTP:
* basic_parser optimizations
2017-07-03 19:25:15 -07:00
* Add basic_parser tests
API Changes:
* Refactor header and message constructors
* serializer::next replaces serializer::get
Actions Required:
* Evaluate each message constructor call site and
adjust the constructor argument list as needed.
* Use serializer::next instead of serializer::get at call sites
--------------------------------------------------------------------------------
Version 72:
HTTP:
* Tidy up set payload in http-server-fast
2017-07-02 14:24:36 -07:00
* Refine Body::size specification
* Newly constructed responses have a 200 OK result
2017-07-02 15:52:57 -07:00
* Refactor file_body for best practices
2017-07-02 11:24:10 -07:00
* Add http-server-threaded example
2017-07-03 14:57:45 -07:00
* Documentation tidying
* Various improvements to http_server_fast.cpp
2017-07-02 18:22:36 -07:00
WebSocket:
* Add websocket-server-async example
--------------------------------------------------------------------------------
2017-06-29 15:05:29 -07:00
Version 71:
* Fix extra ; warning
* Documentation revision
2017-06-30 17:06:42 -07:00
* Fix spurious on_chunk invocation
2017-07-02 06:34:21 -07:00
* Call prepare_payload in HTTP example
2017-07-02 06:38:10 -07:00
* Check trailers in test
* Fix buffer overflow handling for string_body and mutable_body
* Concept check in basic_dynamic_body
2017-07-02 08:22:45 -07:00
* Tidy up http_sync_port error check
2017-07-03 09:09:42 -07:00
* Tidy up Jamroot /permissive-
2017-06-29 15:05:29 -07:00
2017-06-29 09:08:25 -07:00
WebSockets:
* Fine tune websocket op asserts
2017-06-29 09:48:30 -07:00
* Refactor websocket composed ops
* Allow close, ping, and write to happen concurrently
* Fix race in websocket read op
* Fix websocket write op
* Add cmake options for examples and tests
2017-06-29 09:08:25 -07:00
API Changes:
* Return `std::size_t` from `Body::writer::put`
Actions Required:
* Return the number of bytes actually transferred from the
input buffers in user defined `Body::writer::put` functions.
2017-06-29 15:05:29 -07:00
--------------------------------------------------------------------------------
Version 70:
* Serialize in one step when possible
* Add basic_parser header and body limits
* Add parser::on_header to set a callback
2017-06-28 21:42:54 +02:00
* Fix BEAST_FALLTHROUGH
2017-06-28 21:10:39 +02:00
* Fix HEAD response in file_service
API Changes:
* Rename to message::base
* basic_parser default limits are now 1MB/8MB
Actions Required:
* Change calls to message::header_part() with message::base()
* Call body_limit and/or header_limit as needed to adjust the
limits to suitable values if the defaults are insufficient.
--------------------------------------------------------------------------------
2017-06-26 15:32:35 -07:00
Version 69:
* basic_parser optimizations
* Use BEAST_FALLTHROUGH to silence warnings
2017-06-27 05:43:52 -07:00
* Add /permissive- to msvc toolchain
2017-06-26 15:32:35 -07:00
--------------------------------------------------------------------------------
Version 68:
2017-06-25 11:09:24 -07:00
* Split common tests to a new project
2017-06-25 11:57:36 -07:00
* Small speed up in fields comparisons
2017-06-25 12:10:21 -07:00
* Adjust buffer size in fast server
* Use string_ref in older Boost versions
2017-06-26 10:46:17 -07:00
* Optimize field lookups
* Add const_body, mutable_body to examples
2017-06-26 18:28:49 -07:00
* Link statically on cmake MSVC
2017-06-25 11:09:24 -07:00
API Changes:
* Change BodyReader, BodyWriter requirements
* Remove BodyReader::is_deferred
* http::error::bad_target replaces bad_path
Actions Required:
* Change user defined instances of BodyReader and BodyWriter
to meet the new requirements.
* Replace references to http::error::bad_path with http::error::bad_target
--------------------------------------------------------------------------------
2017-06-23 16:18:54 -07:00
Version 67:
* Fix doc example link
2017-06-23 18:23:55 -07:00
* Add http-server-small example
2017-06-24 10:13:17 -07:00
* Merge stream_base to stream and tidy
2017-06-24 11:33:04 -07:00
* Use boost::string_view
2017-06-24 12:45:38 -07:00
* Rename to http-server-fast
2017-06-24 22:24:39 -07:00
* Appveyor use Boost 1.64.0
* Group common example headers
2017-06-23 16:18:54 -07:00
API Changes:
* control_callback replaces ping_callback
Actions Required:
* Change calls to websocket::stream::ping_callback to use
websocket::stream::control_callback
* Change user defined ping callbacks to have the new
signature and adjust the callback definition appropriately.
2017-06-23 16:18:54 -07:00
--------------------------------------------------------------------------------
2017-06-22 16:49:46 -07:00
Version 66:
* string_param optimizations
* Add serializer request/response aliases
2017-06-22 22:44:01 -07:00
* Make consuming_buffers smaller
* Fix costly potential value-init in parser
* Fix unused parameter warning
2017-06-23 02:22:15 -07:00
* Handle bad_alloc in parser
2017-06-23 06:35:08 -07:00
* Tidy up message piecewise ctors
2017-06-23 06:44:36 -07:00
* Add header aliases
2017-06-23 09:33:28 -07:00
* basic_fields optimizations
2017-06-23 01:44:25 -07:00
* Add http-server example
2017-06-23 10:42:02 -07:00
* Squelch spurious warning on gcc
2017-06-22 16:49:46 -07:00
--------------------------------------------------------------------------------
2017-06-22 08:58:56 -07:00
Version 65:
* Enable narrowing warning on msvc cmake
* Fix integer types in deflate_stream::bi_reverse
2017-06-22 09:40:11 -07:00
* Fix narrowing in static_ostream
2017-06-22 09:41:04 -07:00
* Fix narrowing in ostream
2017-06-22 09:41:32 -07:00
* Fix narrowing in inflate_stream
2017-06-22 09:49:02 -07:00
* Fix narrowing in deflate_stream
2017-06-22 10:19:16 -07:00
* Fix integer warnings
* Enable unused variable warning on msvc cmake
2017-06-22 08:58:56 -07:00
--------------------------------------------------------------------------------
Version 64:
* Simplify buffered_read_stream composed op
* Simplify ssl teardown composed op
2017-06-20 19:32:47 -07:00
* Simplify websocket write_op
2017-06-20 20:10:47 -07:00
* Exemplars are compiled code
2017-06-21 04:38:42 -07:00
* Better User-Agent in examples
* async_write requires a non-const message
* Doc tidying
2017-06-21 18:46:10 -07:00
* Add link_directories to cmake
API Changes:
* Remove make_serializer
Actions Required:
* Replace calls to make_serializer with variable declarations
--------------------------------------------------------------------------------
Version 63:
* Use std::to_string instead of lexical_cast
2017-06-20 15:18:29 -07:00
* Don't use cached Boost
2017-06-20 17:24:15 -07:00
* Put num_jobs back up on Travis
* Only build and run tests in variant=coverage
* Move benchmarks to a separate project
* Only run the tests under ubasan
* Tidy up CMakeLists.txt
* Tidy up Jamfiles
* Control running with valgrind explicitly
--------------------------------------------------------------------------------
Version 62:
* Remove libssl-dev from a Travis matrix item
* Increase detail::static_ostream coverage
2017-06-19 09:01:56 -07:00
* Add server-framework tests
2017-06-19 11:00:32 -07:00
* Doc fixes and tidy
2017-06-19 14:41:28 -07:00
* Tidy up namespaces in examples
2017-06-19 16:57:12 -07:00
* Clear the error faster
2017-06-19 16:58:23 -07:00
* Avoid explicit operator bool for error
2017-06-19 18:16:02 -07:00
* Add http::is_fields trait
2017-06-19 19:42:06 -07:00
* Squelch harmless not_connected errors
* Put slow tests back for coverage builds
API Changes:
* parser requires basic_fields
* Refine FieldsReader concept
* message::prepare_payload replaces message::prepare
Actions Required:
* Callers using `parser` with Fields types other than basic_fields
will need to create their own subclass of basic_parser to work
with their custom fields type.
* Implement chunked() and keep_alive() for user defined FieldsReader types.
* Change calls to msg.prepare to msg.prepare_payload. For messages
with a user-defined Fields, provide the function prepare_payload_impl
in the fields type according to the Fields requirements.
--------------------------------------------------------------------------------
2017-06-16 21:38:17 -07:00
Version 61:
* Remove Spirit dependency
2017-06-17 08:35:09 -07:00
* Use generic_cateogry for errno
2017-06-17 12:02:25 -07:00
* Reorganize SSL examples
* Tidy up some integer conversion warnings
2017-06-17 15:43:55 -07:00
* Add message::header_part()
2017-06-17 18:00:01 -07:00
* Tidy up names in error categories
2017-06-17 18:33:39 -07:00
* Flush the output stream in the example
* Clean close in Secure WebSocket client
* Add server-framework SSL HTTP and WebSocket ports
2017-06-18 14:57:32 -07:00
* Fix shadowing warnings
2017-06-18 18:44:28 -07:00
* Tidy up http-crawl example
2017-06-18 06:51:51 -07:00
* Add multi_port to server-framework
2017-06-19 07:28:20 -07:00
* Tidy up resolver calls
2017-06-19 07:35:26 -07:00
* Use one job on CI
* Don't run slow tests on certain targets
2017-06-16 21:38:17 -07:00
API Changes:
* header::version is unsigned
2017-06-17 17:38:24 -07:00
* status-codes is unsigned
2017-06-16 21:38:17 -07:00
--------------------------------------------------------------------------------
Version 60:
* String comparisons are public interfaces
* Fix response message type in async websocket accept
* New server-framework, full featured server example
--------------------------------------------------------------------------------
Version 59:
* Integrated Beast INTERFACE (cmake)
2017-06-16 04:32:03 -07:00
* Fix base64 alphabet
2017-06-16 04:34:47 -07:00
* Remove obsolete doc/README.md
API Changes:
* Change Body::size signature (API Change):
Actions Required:
* For any user-defined models of Body, change the function signature
to accept `value_type const&` and modify the function definition
accordingly.
--------------------------------------------------------------------------------
2017-06-14 17:50:48 -07:00
Version 58:
* Fix unaligned reads in utf8-checker
2017-06-14 18:02:33 -07:00
* Qualify size_t in message template
* Reorganize examples
2017-06-15 06:41:57 -07:00
* Specification for http read
2017-06-15 06:59:54 -07:00
* Avoid `std::string` in websocket
2017-06-15 08:31:47 -07:00
* Fix basic_fields insert ordering
* basic_fields::set optimization
2017-06-15 09:36:36 -07:00
* basic_parser::put doc
* Use static string in basic_fields::reader
2017-06-15 10:16:43 -07:00
* Remove redundant code
* Fix parsing chunk size with leading zeroes
* Better message formal parameter names
2017-06-14 17:50:48 -07:00
API Changes:
* `basic_fields::set` renamed from `basic_fields::replace`
Actions Required:
* Rename calls to `basic_fields::replace` to `basic_fields::set`
2017-06-14 17:50:48 -07:00
--------------------------------------------------------------------------------
2017-06-14 07:10:56 -07:00
Version 57:
* Fix message.hpp javadocs
2017-06-14 07:52:19 -07:00
* Fix warning in basic_parser.cpp
2017-06-14 12:03:19 -07:00
* Integrate docca for documentation and tidy
2017-06-14 07:10:56 -07:00
--------------------------------------------------------------------------------
Version 56:
* Add provisional IANA header field names
2017-06-12 18:39:04 -07:00
* Add string_view_body
* Call on_chunk when the extension is empty
2017-06-13 05:02:27 -07:00
* HTTP/1.1 is the default version
* Try harder to find Boost (cmake)
2017-06-13 07:08:52 -07:00
* Reset error codes
2017-06-13 07:41:04 -07:00
* More basic_parser tests
2017-06-13 08:52:14 -07:00
* Add an INTERFACE cmake target
2017-06-13 11:53:06 -07:00
* Convert buffer in range loops
--------------------------------------------------------------------------------
Version 55:
* Don't allocate memory to handle obs-fold
* Avoid a parser allocation using non-flat buffer
* read_size replaces read_size_helper
--------------------------------------------------------------------------------
2017-06-09 18:34:32 -07:00
Version 54:
* static_buffer coverage
2017-06-09 22:36:57 -07:00
* flat_buffer coverage
* multi_buffer coverage
2017-06-10 13:05:57 -07:00
* consuming_buffers members and coverage
2017-06-10 14:28:15 -07:00
* basic_fields members and coverage
2017-06-10 15:56:48 -07:00
* Add string_param
* Retain ownership when reading using a message
* Fix incorrect use of [[fallthrough]]
2017-06-09 18:34:32 -07:00
API Changes:
* basic_fields refactor
2017-06-09 18:34:32 -07:00
--------------------------------------------------------------------------------
2017-06-10 06:43:23 -07:00
Version 53:
* Fix basic_parser::maybe_flatten
* Fix read_size_helper usage
2017-06-10 06:43:23 -07:00
--------------------------------------------------------------------------------
Version 52:
* flat_buffer is an AllocatorAwareContainer
2017-06-09 17:52:00 -07:00
* Add drain_buffer class
API Changes:
* `auto_fragment` is a member of `stream`
* `binary`, `text` are members of `stream`
* read_buffer_size is a member of `stream`
* read_message_max is a member of `stream`
* `write_buffer_size` is a member of `stream`
* `ping_callback` is a member of stream
* Remove `opcode` from `read`, `async_read`
* `read_frame` returns `bool` fin
* `opcode` is private
* finish(error_code&) is a BodyReader requirement
Actions Required:
* Change call sites which use `auto_fragment` with `set_option`
to call `stream::auto_fragment` instead.
* Change call sites which use message_type with `set_option`
to call `stream::binary` or `stream::text` instead.
2017-06-09 18:04:05 -07:00
* Change call sites which use `read_buffer_size` with `set_option` to
call `stream::read_buffer_size` instead.
2017-06-09 18:04:05 -07:00
* Change call sites which use `read_message_max` with `set_option` to
call `stream::read_message_max` instead.
2017-06-09 18:04:05 -07:00
* Change call sites which use `write_buffer_size` with `set_option` to
call `stream::write_buffer_size` instead.
2017-06-09 18:04:05 -07:00
* Change call sites which use `ping_callback1 with `set_option` to
call `stream::ping_callback` instead.
* Remove the `opcode` reference parameter from calls to synchronous
and asynchronous read functions, replace the logic with calls to
`stream::got_binary` and `stream::got_text` instead.
* Remove the `frame_info` parameter from all read frame call sites
* Check the return value 'fin' for calls to `read_frame`
* Change ReadHandlers passed to `async_read_frame` to have
the signature `void(error_code, bool fin)`, use the `bool`
to indicate if the frame is the last frame.
2017-06-09 18:04:05 -07:00
* Remove all occurrences of the `opcode` enum at call sites
--------------------------------------------------------------------------------
2017-06-07 16:43:09 -07:00
Version 51
* Fix operator<< for header
2017-06-08 05:43:57 -07:00
* Tidy up file_body
* Fix file_body::get() not setting the more flag correctly
2017-06-08 05:54:47 -07:00
* Use BOOST_FALLTHROUGH
2017-06-08 06:01:05 -07:00
* Use BOOST_STRINGIZE
2017-06-08 08:17:25 -07:00
* DynamicBuffer benchmarks
* Add construct, destroy to handler_alloc
* Fix infinite loop in basic_parser
2017-06-07 16:43:09 -07:00
API Changes:
* Tune up static_buffer
* multi_buffer implementation change
Actions Required:
* Call sites passing a number to multi_buffer's constructor
will need to be adjusted, see the corresponding commit message.
2017-06-07 16:43:09 -07:00
--------------------------------------------------------------------------------
2017-06-05 05:49:22 -07:00
Version 50
* parser is constructible from other body types
2017-06-05 13:22:49 -07:00
* Add field enumeration
* Use allocator more in basic_fields
2017-06-06 11:56:06 -07:00
* Fix basic_fields allocator awareness
* Use field in basic_fields and call sites
* Use field in basic_parser
* Tidy up basic_fields, header, and field concepts
2017-06-06 17:26:11 -07:00
* Fields concept work
2017-06-07 04:36:45 -07:00
* Body documentation work
* Add missing handler_alloc nested types
2017-06-07 06:57:24 -07:00
* Fix chunk delimiter parsing
2017-06-07 07:07:24 -07:00
* Fix test::pipe read_size
* Fix chunk header parsing
2017-06-05 07:20:58 -07:00
API Changes:
* Remove header_parser
* Add verb to on_request for parsers
2017-06-05 21:11:33 -07:00
* Refactor prepare
* Protect basic_fields special members
* Remove message connection settings
* Remove message free functions
* Remove obsolete serializer allocator
* http read_some, async_read_some don't return bytes
2017-06-05 07:20:58 -07:00
2017-06-05 05:49:22 -07:00
--------------------------------------------------------------------------------
2017-06-04 07:19:19 -07:00
Version 49
2017-06-04 15:35:21 -07:00
* Use <iosfwd> instead of <ostream>
2017-06-04 07:49:38 -07:00
HTTP:
* Add HEAD request example
API Changes:
* Refactor method and verb
* Canonicalize string_view parameter types
* Tidy up empty_body writer error
* Refactor header status, reason, and target
2017-06-04 07:19:19 -07:00
--------------------------------------------------------------------------------
Version 48
* Make buffer_prefix_view public
2017-06-03 17:28:19 -07:00
* Remove detail::sync_ostream
2017-06-03 15:36:56 -07:00
* Tidy up core type traits
API Changes:
* Tidy up chunk decorator
* Rename to buffer_cat_view
* Consolidate parsers to parser.hpp
* Rename to parser
--------------------------------------------------------------------------------
Version 47
* Disable operator<< for buffer_body
* buffer_size overload for basic_multi_buffer::const_buffers_type
2017-06-02 20:50:11 -07:00
* Fix undefined behavior in pausation
2017-06-03 00:14:32 -07:00
* Fix leak in basic_flat_buffer
API Changes:
* Refactor treatment of request-method
* Refactor treatment of status code and obsolete reason
* Refactor HTTP serialization and parsing
--------------------------------------------------------------------------------
2017-05-24 19:52:20 -07:00
Version 46
* Add test::pipe
2017-05-30 02:18:18 -07:00
* Documentation work
2017-05-24 19:52:20 -07:00
API Changes:
* Remove HTTP header aliases
* Refactor HTTP serialization
* Refactor type traits
2017-05-24 19:52:20 -07:00
--------------------------------------------------------------------------------
Version 45
* Workaround for boost::asio::basic_streambuf type check
2017-05-25 22:19:41 -07:00
* Fix message doc image
2017-05-24 19:42:24 -07:00
* Better test::enable_yield_to
2017-05-27 10:23:17 -07:00
* Fix header::reason
2017-05-26 20:46:43 -07:00
* Documentation work
* buffer_view skips empty buffer sequences
* Disable reverse_iterator buffer_view test
--------------------------------------------------------------------------------
2017-05-22 15:30:12 -07:00
Version 44
* Use BOOST_THROW_EXCEPTION
* Tidy up read_size_helper and dynamic buffers
2017-05-23 11:26:28 -07:00
* Require Boost 1.58.0 or later
* Tidy up and make get_lowest_layer public
2017-05-23 12:33:31 -07:00
* Use BOOST_STATIC_ASSERT
2017-05-23 15:50:15 -07:00
* Fix async return values in docs
2017-05-24 07:22:56 -07:00
* Fix README websocket example
* Add buffers_adapter regression test
2017-05-24 12:31:48 -07:00
* Tidy up is_dynamic_buffer traits test
* Make buffers_adapter meet requirements
2017-05-22 15:30:12 -07:00
--------------------------------------------------------------------------------
2017-05-20 23:16:36 -07:00
Version 43
* Require Boost 1.64.0
* Fix strict aliasing warnings in buffers_view
* Tidy up buffer_prefix overloads and test
* Add write limit to test::string_ostream
* Additional constructors for consuming_buffers
2017-05-20 23:16:36 -07:00
--------------------------------------------------------------------------------
2017-05-15 09:10:15 -07:00
Version 42
* Fix javadoc typo
2017-05-15 09:10:08 -07:00
* Add formal review notes
2017-05-16 07:34:09 -07:00
* Make buffers_view a public interface
2017-05-15 09:10:15 -07:00
--------------------------------------------------------------------------------
Version 41
2017-05-10 10:06:09 -07:00
* Trim Appveyor matrix rows
* Concept revision and documentation
2017-05-13 12:38:51 -07:00
* Remove coveralls integration
* Tidy up formal parameter names
2017-05-10 10:06:09 -07:00
WebSocket
* Tidy up websocket::close_code enum and constructors
API Changes
* Return http::error::end_of_stream on HTTP read eof
2017-05-10 13:08:11 -07:00
* Remove placeholders
* Rename prepare_buffer(s) to buffer_prefix
* Remove handler helpers, tidy up hook invocations
--------------------------------------------------------------------------------
Version 40
* Add to_static_string
* Consolidate get_lowest_layer in type_traits.hpp
2017-05-10 05:35:38 -07:00
* Fix basic_streambuf movable trait
* Tidy up .travis.yml
--------------------------------------------------------------------------------
2017-05-07 17:33:03 -07:00
Version 39
Beast versions are now identified by a single integer which
is incremented on each merge. The macro BEAST_VERSION
identifies the version number, currently at 39. A version
setting commit will always be at the tip of the master
and develop branches.
2017-05-05 14:45:15 -07:00
* Use beast::string_view alias
2017-05-08 19:09:35 -07:00
* Fixed braced-init error with older gcc
2017-05-05 14:45:15 -07:00
2017-05-05 14:49:16 -07:00
HTTP
* Tidy up basic_parser javadocs
WebSocket:
* Add websocket async echo ssl server test:
* Fix eof error on ssl::stream shutdown
API Changes:
* Refactor http::header contents
* New ostream() returns dynamic buffer output stream
* New buffers() replaces to_string()
* Rename to multi_buffer, basic_multi_buffer
* Rename to flat_buffer, basic_flat_buffer
* Rename to static_buffer, static_buffer_n
* Rename to buffered_read_stream
* Harmonize concepts and identifiers with net-ts
* Tidy up HTTP reason_string
--------------------------------------------------------------------------------
1.0.0-b38
* Refactor static_string
* Refactor base64
* Use static_string for WebSocket handshakes
2017-04-30 11:26:01 -07:00
* Simplify get_lowest_layer test
2017-04-30 11:29:33 -07:00
* Add test_allocator to extras/test
2017-04-30 14:36:16 -07:00
* More flat_streambuf tests
2017-05-01 15:21:20 -07:00
* WebSocket doc work
* Prevent basic_fields operator[] assignment
API Changes:
* Refactor WebSocket error codes
* Remove websocket::keep_alive option
--------------------------------------------------------------------------------
1.0.0-b37
* CMake hide command lines in .vcxproj Output windows"
* Rename to detail::is_invocable
2017-04-27 17:55:07 -07:00
* Rename project to http-bench
* Fix flat_streambuf
2017-05-07 07:36:57 -07:00
* Add ub sanitizer blacklist
* Add -funsigned-char to asan build target
* Fix narrowing warning in table constants
WebSocket:
* Add is_upgrade() free function
* Document websocket::stream thread safety
* Rename to websocket::detail::pausation
API Changes:
* Provide websocket::stream accept() overloads
Refactor websocket decorators (API Change): fix #80, #212, fix #303, fix #314, fix #317 websocket::stream now provides the following families of functions for performing handshakes: When operating in the server role: * stream::accept * stream::accept_ex * stream::async_accept * stream::async_accept_ex When operating in the client role: * stream::handshake * stream::handshake_ex * stream::async_handshake * stream::async_handshake_ex Member functions ending with "_ex" allow an additional RequestDecorator parameter (for the accept family of functions) or ResponseDecorator parameter (for the handshake family of functions). The decorator is called to optionally modify the contents of the HTTP request or HTTP response object generated by the implementation, before the message is sent. This permits callers to set the User-Agent or Server fields, add or modify HTTP fields related to subprotocols, or perform any required transformation of the HTTP message for application-specific needs. The handshake() family of functions now have an additional set of overloads accepting a parameter of type response_type&, allowing the caller to receive the HTTP Response to the Upgrade handshake. This permits inspection of the response to handle things like subprotocols, authentication, or other application-specific needs. The new implementation does not require any state to be stored in the stream object. Therefore, websocket::stream objects are now smaller in size. The overload of set_option for setting a decorator on the stream is removed. The only way to set decorators now is with a suitable overload of accept or handshake.
2017-04-25 09:35:22 -07:00
* Refactor websocket decorators
* Move everything in basic_fields.hpp to fields.hpp
* Rename to http::dynamic_body, consolidate header
--------------------------------------------------------------------------------
2017-05-05 07:18:31 -07:00
1.0.0-b36
* Update README.md
--------------------------------------------------------------------------------
2017-04-20 10:30:24 -07:00
1.0.0-b35
* Add Appveyor build scripts and badge
2017-04-20 14:50:11 -07:00
* Tidy up MSVC CMake configuration
* Make close_code a proper enum
* Add flat_streambuf
2017-04-22 14:56:09 -07:00
* Rename to BEAST_DOXYGEN
2017-04-23 14:29:17 -07:00
* Update .gitignore for VS2017
* Fix README.md CMake instructions
2017-04-20 10:30:24 -07:00
API Changes:
* New HTTP interfaces
2017-04-27 18:29:19 -07:00
* Remove http::empty_body
2017-04-20 10:30:24 -07:00
--------------------------------------------------------------------------------
1.0.0-b34
* Fix and tidy up CMake build scripts
--------------------------------------------------------------------------------
1.0.0-b33
* Require Visual Studio 2015 Update 3 or later
HTTP
2017-04-10 19:29:35 -07:00
* Use fwrite return value in file_body
WebSocket
* Set internal state correctly when writing frames
2017-04-12 18:49:18 -07:00
* Add decorator unit test
2017-04-14 12:32:36 -07:00
* Add write_frames unit test
--------------------------------------------------------------------------------
1.0.0-b32
* Add io_service completion invariants test
* Update CMake scripts for finding packages
API Changes:
* Remove http Writer suspend and resume feature
--------------------------------------------------------------------------------
2017-03-02 08:42:16 -05:00
1.0.0-b31
2017-03-03 08:02:49 -05:00
* Tidy up build settings
* Add missing dynabuf_readstream member
2017-03-03 08:02:49 -05:00
2017-03-02 08:42:16 -05:00
WebSocket
* Move the handler, don't copy it
--------------------------------------------------------------------------------
2017-02-24 14:53:20 -05:00
1.0.0-b30
WebSocket
* Fix race in pings during reads
2017-02-24 15:10:50 -05:00
* Fix race in close frames during reads
2017-02-24 16:02:59 -05:00
* Fix race when write suspends
* Allow concurrent websocket async ping and writes
2017-02-24 14:53:20 -05:00
--------------------------------------------------------------------------------
1.0.0-b29
* Fix compilation error in non-template class
2017-02-10 11:57:09 -05:00
* Document type-pun in buffer_cat
2017-02-05 14:42:58 -08:00
* Correctly check ostream modifier (/extras)
2017-02-08 12:24:33 -05:00
HTTP
* Fix Body requirements doc
* Fix illegal HTTP characters accepted as hex zero
2017-02-17 14:05:16 +10:00
* Fix Writer return value documentation
2017-02-08 12:24:33 -05:00
2017-02-10 11:57:09 -05:00
WebSocket
* Fix race in writes during reads
2017-02-22 13:19:07 +01:00
* Fix doc link typo
2017-02-10 11:57:09 -05:00
--------------------------------------------------------------------------------
1.0.0-b28
* Split out and rename test stream classes
2017-01-09 11:25:34 -05:00
* Restyle async result constructions
* Fix HTTP split parse edge case
--------------------------------------------------------------------------------
1.0.0-b27
* Tidy up tests and docs
* Add documentation building instructions
API Changes:
* Invoke callback on pings and pongs
* Move basic_streambuf to streambuf.hpp
--------------------------------------------------------------------------------
1.0.0-b26
* Tidy up warnings and tests
--------------------------------------------------------------------------------
1.0.0-b25
* Fixes for WebSocket echo server
2017-01-24 15:22:04 -05:00
* Fix 32-bit arm7 warnings
2017-01-30 08:48:33 -05:00
* Remove unnecessary include
* WebSocket server examples and test tidying
2017-02-01 12:44:16 -05:00
* Fix deflate setup bug
API Changes:
* Better handler_ptr
--------------------------------------------------------------------------------
2017-01-24 17:12:31 -05:00
1.0.0-b24
* bjam use clang on MACOSX
* Simplify Travis package install specification
2017-01-19 12:05:56 -05:00
* Add optional yield_to arguments
2017-01-25 09:38:29 -05:00
* Make decorator copyable
* Add WebSocket permessage-deflate extension support
2017-01-24 17:12:31 -05:00
--------------------------------------------------------------------------------
1.0.0-b23
* Tune websocket echo server for performance
* Add file and line number to thrown exceptions
* Better logging in async echo server
* Add copy special members
* Fix message constructor and special members
2017-01-24 17:12:31 -05:00
* Travis CI improvements
--------------------------------------------------------------------------------
1.0.0-b22
* Fix broken Intellisense
* Implement the Asio deallocation-before-invocation guarantee
2017-01-05 09:07:18 -05:00
* Add handler helpers
2017-01-05 09:09:59 -05:00
* Avoid copies in handler_alloc
* Update README.md example programs
* Fix websocket stream read documentation
* Disable Boost.Coroutine deprecation warning
2017-01-08 07:00:04 -05:00
* Update documentation examples
--------------------------------------------------------------------------------
1.0.0-b21
* Remove extraneous includes
--------------------------------------------------------------------------------
1.0.0-b20
ZLib
* Add ZLib module
API Changes:
* Rename HTTP identifiers
--------------------------------------------------------------------------------
2016-10-28 19:43:30 -04:00
1.0.0-b19
* Boost library min/max guidance
2016-11-08 13:15:07 -05:00
* Improvements to code coverage
* Use boost::lexical_cast instead of std::to_string
* Fix prepare_buffers value_type
* Fix consuming_buffers value_type
* Better buffer_cat
HTTP
* Make chunk_encode public
* Add write, async_write, operator<< for message_headers
* Add read, async_read for message_headers
2016-11-09 10:17:56 -05:00
* Fix with_body example
2016-11-02 08:21:35 -04:00
WebSocket
2016-10-28 19:43:30 -04:00
* Optimize utf8 validation
2016-11-02 08:21:35 -04:00
* Optimize mask operations
2016-10-28 19:43:30 -04:00
API Changes:
* Refactor message and message_headers declarations
* prepared_buffers is private
* consume_buffers is removed
2016-10-28 19:43:30 -04:00
--------------------------------------------------------------------------------
2016-10-19 18:47:03 -04:00
1.0.0-b18
* Increase optimization settings for MSVC builds
HTTP
* Check invariants in parse_op:
2016-10-19 18:47:03 -04:00
* Clean up message docs
WebSocket
* Write buffer option does not change capacity
* Close connection during async_read on close frame
* Add pong, async pong to stream
Core
* Meet DynamicBuffer requirements for static_streambuf
* Fix write_frame masking and auto-fragment handling
Extras
* unit_test::suite fixes:
- New overload of fail() specifies file and line
- BEAST_EXPECTS only evaluates the reason string on a failure
* Add zlib module
2016-10-19 18:47:03 -04:00
--------------------------------------------------------------------------------
2016-10-15 20:48:59 +03:00
1.0.0-b17
* Change implicit to default value in example
* Tidy up some declarations
2016-10-14 19:38:28 -04:00
* Fix basic_streambuf::capacity
* Add basic_streambuf::alloc_size
* Parser callbacks may not throw
* Fix Reader concept doc typo
* Add is_Reader trait
* Tidy up basic_headers for documentation
* Tidy up documentation
2016-10-16 18:52:32 -04:00
* Add basic_parser_v1::reset
* Fix handling of body_what::pause in basic_parser_v1
* Add headers_parser
* Engaged invokable is destructible
* Improve websocket example in README.md
2016-10-18 16:23:23 -04:00
* Refactor read_size_helper
API Changes:
* Added init() to Reader requirements
* Reader must be nothrow constructible
* Reader is now constructed right before reading the body
- The message passed on construction is filled in
* Rework HTTP concepts:
- Writer uses write instead of operator()
- Refactor traits to use void_t
- Remove is_ReadableBody, is_WritableBody
- Add has_reader, has_writer, is_Reader, is_Writer
- More friendly compile errors on failed concept checks
* basic_parser_v1 requires all callbacks present
* on_headers parser callback now returns void
* on_body_what is a new required parser callback returning body_what
2016-10-15 20:48:59 +03:00
--------------------------------------------------------------------------------
2016-06-05 13:39:13 -04:00
1.0.0-b16
* Make value optional in param-list
* Frame processing routines are member functions
* Fix on_headers called twice from basic_parser_v1
2016-10-10 06:37:07 -04:00
* Constrain parser_v1 constructor
2016-10-10 09:00:57 -04:00
* Improve first line serialization
* Add pause option to on_headers interface
* Refactor base_parser_v1 callback traits:
* Refine Parser concept
* Relax ForwardIterator requirements in FieldSequence
2016-10-14 14:03:16 -04:00
* Fix websocket failure testing
* Refine Writer concept and fix exemplar in documentation
2016-06-05 13:39:13 -04:00
2016-06-10 13:20:41 -04:00
API Changes:
* Rename mask_buffer_size to write_buffer_size
2016-06-10 15:48:39 -04:00
* Make auto_fragment a boolean option
2016-06-10 13:20:41 -04:00
The message class hierarchy is refactored (breaking change):
* One message class now models both HTTP/1 and HTTP/2 messages
* message_v1, request_v1, response_v1 removed
* New classes basic_request and basic_response model
messages without the body.
Error resolution: Callers should use message, request,
and response instead of message_v1, request_v1, and
response_v1 respectively.
2016-06-05 13:39:13 -04:00
--------------------------------------------------------------------------------
2016-09-30 08:44:49 -04:00
1.0.0-b15
* rfc7230 section 3.3.2 compliance
2016-10-02 16:33:42 -04:00
* Add HTTPS example
2016-10-02 16:42:50 -04:00
* Add Secure WebSocket example
2016-10-03 13:52:13 -04:00
* Fix message_v1 constructor
2016-10-04 17:53:23 -04:00
* Tidy up DynamicBuffer requirements
* Tidy up error types and headers
* Fix handling empty HTTP headers in parser_v1
2016-09-30 08:44:49 -04:00
--------------------------------------------------------------------------------
2016-09-26 07:57:59 -04:00
1.0.0-b14
* Add missing rebind to handler_alloc
2016-09-23 14:35:46 +03:00
* Fix error handling in http server examples
* Fix CMake scripts for MinGW
2016-09-25 12:17:32 -04:00
* Use BOOST_ASSERT
2016-09-25 11:19:51 -04:00
* Better WebSocket decorator
* Update and tidy documentation
2016-09-26 07:57:59 -04:00
--------------------------------------------------------------------------------
1.0.0-b13
2016-09-02 10:11:47 -04:00
* dstream improvements
* Remove bin and bin64 directories
2016-09-02 10:11:47 -04:00
* Tidy up .vcxproj file groupings
--------------------------------------------------------------------------------
2016-08-29 07:31:02 -04:00
1.0.0-b12
* Use -p to print suites from unit test main.
* BEAST_EXPECTS to add a reason string to test failures
* Fix unit test runner to output all case names
2016-08-29 07:31:02 -04:00
* Update README for build requirements
* Rename to CHANGELOG.md
--------------------------------------------------------------------------------
2016-08-26 10:01:11 -04:00
1.0.0-b11
* Set URI in generated WebSocket Upgrade requests
* Rename echo server class and file names
* Rename to DynamicBuffer in some code and documentation
* Fix integer warnings in Windows builds
* Add 32 and 64 bit Windows build support
* Update README for build instructions and more
* Add repository and documentation banners
2016-08-26 10:01:11 -04:00
--------------------------------------------------------------------------------
2016-08-12 19:46:23 -04:00
1.0.0-b10
* Fix compilation warnings
* Add websocketpp comparison to HTML documentation
--------------------------------------------------------------------------------
1.0.0-b9
* Fix CMakeLists.txt
--------------------------------------------------------------------------------
2016-06-24 17:19:22 -04:00
1.0.0-b8
* Fix include in example code
* Fix basic_headers rfc2616 Section 4.2 compliance
2016-06-24 17:19:22 -04:00
--------------------------------------------------------------------------------
1.0.0-b7
* Fix prepare by calling init. prepare() can throw depending on the
implementation of Writer. Publicly provided beast::http writers never throw.
* Fixes to example HTTP server
* Fully qualify ambiguous calls to read and parse
* Remove deprecated http::stream wrapper
* Example HTTP server now calculates the MIME-type
* Fixes and documentation for teardown and use with SSL:
* Add example code to rfc7230 javadocs
* Remove extraneous header file <beast/http/status.hpp>
2016-06-15 11:52:59 -04:00
* Add skip_body parser option
--------------------------------------------------------------------------------
2016-05-28 07:57:49 -04:00
1.0.0-b6
2016-05-27 11:10:45 -04:00
* Use SFINAE on return values
* Use beast::error_code instead of nested types
2016-05-27 11:17:53 -04:00
* Tidy up use of GENERATING_DOCS
* Remove obsolete RFC2616 functions
* Add message swap members and free functions
* Add HTTP field value parser containers: ext_list, param_list, token_list
* Fixes for some corner cases in basic_parser_v1
* Configurable limits on headers and body sizes in basic_parser_v1
API Changes:
* ci_equal is moved to beast::http namespace, in rfc7230.hpp
2016-05-27 11:10:45 -04:00
* "DynamicBuffer","dynabuf" renamed from "Streambuf", "streambuf". See:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4478.html#requirements.dynamic_buffers
* basic_parser_v1 adheres to rfc7230 as strictly as possible
2016-05-28 07:57:49 -04:00
--------------------------------------------------------------------------------