IXWebSocket/CHANGELOG.md
Benjamin Sergeant f84bc53c8d Feature/httpd (#94)
* Stub code for http server

* can send a response, cannot process body yet

* write headers to the response

* remove commented code

* add simple test + set default http handler

* tweak CI + unittest

* add missing file

* rewrite http::trim in a simple way

* doc
2019-06-23 14:54:21 -07:00

1.7 KiB

Changelog

All notable changes to this project will be documented in this file.

[5.0.0] - 2019-06-23

Changed

  • New HTTP server / still very early. ws gained a new command, httpd can run a simple webserver serving local files.
  • IXDNSLookup. Uses weak pointer + smart_ptr + shared_from_this instead of static sets + mutex to handle object going away before dns lookup has resolved
  • cobra_to_sentry / backtraces are reversed and line number is not extracted correctly
  • mbedtls and zlib are searched with find_package, and we use the vendored version if nothing is found
  • travis CI uses g++ on Linux

[4.0.0] - 2019-06-09

Changed

  • WebSocket::send() sends message in TEXT mode by default
  • WebSocketMessage sets a new binary field, which tells whether the received incoming message is binary or text
  • WebSocket::send takes a third arg, binary which default to true (can be text too)
  • WebSocket callback only take one object, a const ix::WebSocketMessagePtr& msg
  • Add explicit WebSocket::sendBinary method
  • New headers + WebSocketMessage class to hold message data, still not used across the board
  • Add test/compatibility folder with small servers and clients written in different languages and different libraries to test compatibility.
  • ws echo_server has a -g option to print a greeting message on connect
  • IXSocketMbedTLS: better error handling in close and connect

[3.1.2] - 2019-06-06

Added

  • ws connect has a -x option to disable per message deflate
  • Add WebSocket::disablePerMessageDeflate() option.

[3.0.0] - 2019-06-xx

Changed

  • TLS, aka SSL works on Windows (websocket and http clients)
  • ws command line tool build on Windows
  • Async API for HttpClient
  • HttpClient API changed to use shared_ptr for response and request