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, 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
      0๏ธโƒฃ 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.