WebSocket++ v0.5.0 Release Notes
Release Date: 2015-01-22 // over 9 years ago-
- ๐ฅ BREAKING UTILITY CHANGE : Deprecated methods
http::parser::parse_headers
,
๐http::response::parse_complete
, andhttp::request::parse_complete
have
๐ been removed. - ๐ Security : Disabled SSLv3 in example servers.
- ๐ Feature : Adds basic support for accessing HTTP request bodies in the http
๐ handler. #181 - ๐ Feature : Adds the ability to register a shutdown handler when using the
iostream transport. This provides a clean interface for triggering the shut
down of external sockets and other cleanup without hooking in to higher level
WebSocket handlers. - ๐ Feature : Adds the ability to register a write handler when using the iostream
transport. This handler can be used to handle transport output in place of
registering an ostream to write to. - ๐ Feature : Adds a new logging policy that outputs to syslog. #386 Thank you Tom
Hughes for submitting the initial version of this policy. - ๐ Improvement : Message payload logging now prints text for text messages rather
than binary. - ๐ Improvement: Overhaul of handshake state machine. Should make it impossible
for exceptions to bubble out of transport methods likeio_service::run
. - ๐ Improvement: Overhaul of handshake error reporting. Fail handler error codes
๐ฒ will be more detailed and precise. Adds new [fail] and [http] logging channels
๐ฒ that log failed websocket connections and successful HTTP connections
๐ฆ respectively. A new aggregate channel package,alevel::access_core
, allows
enabling connect, disconnect, fail, and http together. Successful HTTP
connections will no longer trigger a fail handler. - ๐ Improvement: Ability to terminate connection during an http handler to cleanly
0๏ธโฃ suppress the default outgoing HTTP response. - ๐ Documentation: Add Sending & Receiving Messages step to chapter one of the
โก๏ธutility_client
tutorial. Updateutility_client
example to match. - Cleanup: Removes unused files & STL includes. Adds required STL includes.
Normalizes include order. - ๐ Bug: Fixes a fatal state error when a handshake response is completed
immediately after that handshake times out. #389 - ๐ Bug: MinGW fixes; C++11 feature detection, localtime use. #393 Thank you
โ Schebb for reporting, code, and testing. - ๐ Bug: Fixes an issue where
websocketpp::exception::what()
could return an out
of scope pointer. #397 Thank you fabioang for reporting. - ๐ Bug: Fixes an issue where endpoints were not reset properly after a call to
endpoint::listen
failed. #390 Thank you wyyqyl for reporting.
- ๐ฅ BREAKING UTILITY CHANGE : Deprecated methods