WebSocket++ v0.6.0 Release Notes
Release Date: 2015-06-02 // almost 9 years ago-
- MINOR BREAKING TRANSPORT POLICY CHANGE : Custom transport policies will now be
required to include a new methodvoid set_uri(uri_ptr u)
. An implementation
is not required. The stub transport policy includes an example stub method
that can be added to any existing custom transport policy to fulfill this
requirement. This does not affect anyone using the bundled transports or
configs. - MINOR BREAKING SOCKET POLICY CHANGE : Custom asio transport socket policies
will now be required to include a new methodvoid set_uri(uri_ptr u)
. Like
with the transport layer, an implementation is not required. This does not
affect anyone using the bundled socket policies. - MINOR BREAKING DEPENDENCY CHANGE : When using Boost versions greater than or
equal to 1.49 in C++03 mode,libboost-chrono
is needed now instead of
libboost-date_time
. Users with C++11 compilers or using Boost versions 1.48
โ and earlier are not affected. Note: This change affects the bundled unit test
suite. - ๐ Feature : WebSocket++ Asio transport policy can now be used with the standalone
๐ version of Asio (1.8.0+) when a C++11 compiler and standard library are
present. This means that it is possible now to use WebSocket++'s Asio
transport entirely without Boost. Thank you Robert Seiler for proof of concept
๐ code that was used as a guide for this implementation. Fixes #324 - ๐ Feature : Adds a vectored/scatter-gather write handler to the iostream
transport. - ๐ Feature : Adds the ability to defer sending an HTTP response until sometime
after thehttp_handler
is run. This allows processing of long running http
๐ handlers to defer their response until it is ready without blocking the
network thread. references #425 - ๐ Improvement :
echo_server_tls
has been update to demonstrate how to configure
๐ it for Mozilla's recommended intermediate and modern TLS security profiles. - ๐ Improvement :
endpoint::set_timer
now uses a steady clock provided by
boost::chrono
orstd::chrono
where available instead of the non-monotonic
๐ system clock. Thank you breyed for reporting. fixes #241 - ๐ Improvement : Outgoing TLS connections to servers using the SNI extension to
choose a certificate will now work. Thank you moozzyk for reporting.
๐ Fixes #400 - ๐ Improvement : Removes an unnecessary mutex lock in
get_con_from_hdl
. - Cleanup : Asio transport policy has been refactored to remove many Boost
dependencies. On C++03 compilers theboost::noncopyable
dependency has been
โ removed and theboost::date_time
dependency has been replaced with the newer
boost::chrono
when possible. On C++11 compilers theboost::aligned_storage
andboost::date_time
dependencies are gone, replaced with equivalent C++11
standard library features. - ๐ Bug : Fixes a potential dangling pointer and inconsistent error message
๐ป handling inwebsocketpp::exception
. #432 Thank you Tom Swirly for the fix.
- MINOR BREAKING TRANSPORT POLICY CHANGE : Custom transport policies will now be