Skip to content

WebSocket++/0.5.0

Compare
Choose a tag to compare
@zaphoyd zaphoyd released this 22 Jan 15:25
· 289 commits to master since this release
  • BREAKING UTILITY CHANGE: Deprecated methods http::parser::parse_headers,
    http::response::parse_complete, and http::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 like io_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
    suppress the default outgoing HTTP response.
  • Documentation: Add Sending & Receiving Messages step to chapter one of the
    utility_client tutorial. Update utility_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.