2019-06-06 22:59:12 +02:00
# Changelog
2020-08-02 21:41:34 +02:00
2019-12-23 05:32:10 +01:00
All changes to this project will be documented in this file.
2022-04-24 07:53:36 +02:00
## [11.4.1] - 2022-04-23
vckpg + cmake fix, to handle zlib as a dependency better
2022-01-05 19:43:18 +01:00
## [11.4.0] - 2022-01-05
(Windows) Use wsa select event, which should lead to a much better behavior on Windows in general, and also when sending large payloads (#342)
Fix "HTTP/1.1 400 Illegal character CNTL=0xf" caused by serverMaxWindowBits/clientMaxWindowBits being uint8_t (signed char). (#341)
Export symbols into .def files
Export symbols into .def files on MSVC (#339)
Include < cerrno > to provide standard error constants (#338)
Improved compatibility - fix mingw crossbuild (#337)
Allow to cancel asynchronous HTTP requests (#332)
Fix errors in example code. (#336)
2021-11-24 17:45:04 +01:00
## [11.3.2] - 2021-11-24
(server) Add getters for basic Servers properties (like port, host, etc...) (#327) + fix one compiler warning
2021-10-22 20:10:58 +02:00
## [11.3.1] - 2021-10-22
(library/cmake) Compatible with MbedTLS 3 + fix a bug on Windows where the incorrect remote port is computed (#320)
2021-09-21 03:19:10 +02:00
## [11.3.0] - 2021-09-20
(library/cmake) Only find OpenSSL, MbedTLS, zlib if they have not already been found, make CMake install optional (#317) + Use GNUInstallDirs in cmake (#318)
2021-07-27 20:48:25 +02:00
## [11.2.10] - 2021-07-27
(ws) bump CLI command line parsing library from 1.8 to 2.0
2021-06-08 18:49:27 +02:00
## [11.2.9] - 2021-06-08
(ws) ws connect has a -g option to gzip decompress messages for API such as the websocket Huobi Global.
2021-06-04 03:41:22 +02:00
## [11.2.8] - 2021-06-03
(websocket client + server) WebSocketMessage class tweak to fix unsafe patterns
2021-05-27 19:54:10 +02:00
## [11.2.7] - 2021-05-27
(websocket server) Handle and accept firefox browser special upgrade value (keep-alive, Upgrade)
2021-05-18 20:18:40 +02:00
## [11.2.6] - 2021-05-18
(Windows) move EINVAL (re)definition from IXSocket.h to IXNetSystem.h (fix #289 )
2021-04-05 08:26:22 +02:00
## [11.2.5] - 2021-04-04
(http client) DEL is not an HTTP method name, but DELETE is
2021-03-25 18:55:59 +01:00
## [11.2.4] - 2021-03-25
(cmake) install IXUniquePtr.h
2021-03-24 16:03:56 +01:00
## [11.2.3] - 2021-03-24
(ssl + windows) missing include for CertOpenStore function
2021-03-24 05:54:54 +01:00
## [11.2.2] - 2021-03-23
(ixwebsocket) version bump
2021-03-24 05:54:15 +01:00
## [11.2.1] - 2021-03-23
(ixwebsocket) version bump
2021-03-24 05:52:49 +01:00
## [11.2.0] - 2021-03-23
(ixwebsocket) correct mingw support (gcc on windows)
2021-03-23 16:29:50 +01:00
## [11.1.4] - 2021-03-23
(ixwebsocket) add getMinWaitBetweenReconnectionRetries
2021-03-23 15:33:48 +01:00
## [11.1.3] - 2021-03-23
(ixwebsocket) New option to set the min wait between reconnection attempts. Still default to 1ms. (setMinWaitBetweenReconnectionRetries).
2021-03-23 05:10:03 +01:00
## [11.1.2] - 2021-03-22
(ws) initialize maxWaitBetweenReconnectionRetries to a non zero value ; a zero value was causing spurious reconnections attempts
2021-03-20 17:50:21 +01:00
## [11.1.1] - 2021-03-20
(cmake) Library can be built as a static or a dynamic library, controlled with BUILD_SHARED_LIBS. Default to static library
2021-03-16 17:56:08 +01:00
## [11.1.0] - 2021-03-16
(ixwebsocket) Use LEAN_AND_MEAN Windows define to help with undefined link error when building a DLL. Support websocket server disablePerMessageDeflate option correctly.
2021-03-08 04:29:28 +01:00
## [11.0.9] - 2021-03-07
(ixwebsocket) Expose setHandshakeTimeout method
2020-12-26 01:25:58 +01:00
## [11.0.8] - 2020-12-25
(ws) trim ws dependencies no more ixcrypto and ixcore deps
2020-12-26 00:17:46 +01:00
## [11.0.7] - 2020-12-25
(ws) trim ws dependencies, only depends on ixcrypto and ixcore
2020-12-23 06:42:39 +01:00
## [11.0.6] - 2020-12-22
(build) rename makefile to makefile.dev to ease cmake BuildExternal (fix #261 )
2020-12-18 07:42:14 +01:00
## [11.0.5] - 2020-12-17
(ws) Implement simple header based websocket authorization technique to reject
client which do not supply a certain header ("Authorization") with a special
value (see doc).
2020-11-16 22:53:09 +01:00
## [11.0.4] - 2020-11-16
(ixwebsocket) Handle EINTR return code in ix::poll and IXSelectInterrupt
2020-11-16 17:41:08 +01:00
## [11.0.3] - 2020-11-16
(ixwebsocket) Fix #252 / regression in 11.0.2 with string comparisons
2020-11-15 18:56:37 +01:00
## [11.0.2] - 2020-11-15
(ixwebsocket) use a C++11 compatible make_unique shim
2020-11-12 06:39:31 +01:00
## [11.0.1] - 2020-11-11
(socket) replace a std::vector with an std::array used as a tmp buffer in Socket::readBytes
2020-11-11 18:16:14 +01:00
## [11.0.0] - 2020-11-11
(openssl security fix) in the client to server connection, peer verification is not done in all cases. See https://github.com/machinezone/IXWebSocket/pull/250
2020-11-07 20:22:52 +01:00
## [10.5.7] - 2020-11-07
(docker) build docker container with zlib disabled
2020-11-07 18:40:54 +01:00
## [10.5.6] - 2020-11-07
(cmake) DEFLATE -> Deflate in CMake to stop warnings about casing
2020-11-07 18:34:47 +01:00
## [10.5.5] - 2020-11-07
(ws autoroute) Display result in compliant way (AUTOROUTE IXWebSocket :: N ms) so that result can be parsed easily
2020-10-31 02:28:11 +01:00
## [10.5.4] - 2020-10-30
(ws gunzip + IXGZipCodec) Can decompress gziped data with libdeflate. ws gunzip computed output filename was incorrect (was the extension aka gz) instead of the file without the extension. Also check whether the output file is writeable.
2020-10-19 22:37:42 +02:00
## [10.5.3] - 2020-10-19
(http code) With zlib disabled, some code should not be reached
2020-10-12 23:03:01 +02:00
## [10.5.2] - 2020-10-12
(ws curl) Add support for --data-binary option, to set the request body. When present the request will be sent with the POST verb
2020-10-10 02:51:56 +02:00
## [10.5.1] - 2020-10-09
(http client + server + ws) Add support for compressing http client requests with gzip. --compress_request argument is used in ws to enable this. The Content-Encoding is set to gzip, and decoded on the server side if present.
2020-10-08 21:43:18 +02:00
## [10.5.0] - 2020-09-30
(http client + server + ws) Add support for uploading files with ws -F foo=@filename, new -D http server option to debug incoming client requests, internal api changed for http POST, PUT and PATCH to supply an HttpFormDataParameters
2020-09-30 23:25:41 +02:00
## [10.4.9] - 2020-09-30
(http server + utility code) Add support for doing gzip compression with libdeflate library, if available
2020-09-30 23:24:04 +02:00
## [10.4.8] - 2020-09-30
(cmake) Stop using FetchContent cmake module to retrieve jsoncpp third party dependency
2020-09-28 19:19:27 +02:00
## [10.4.7] - 2020-09-28
(ws) add gzip and gunzip ws sub commands
2020-09-26 23:11:40 +02:00
## [10.4.6] - 2020-09-26
(cmake) use FetchContent cmake module to retrieve jsoncpp third party dependency
2020-09-26 22:51:19 +02:00
## [10.4.5] - 2020-09-26
(cmake) use FetchContent cmake module to retrieve spdlog third party dependency
2020-09-22 18:30:19 +02:00
## [10.4.4] - 2020-09-22
(cobra connection) retrieve cobra server connection id from the cobra handshake message and display it in ws clients, metrics publisher and bots
2020-09-22 17:55:21 +02:00
## [10.4.3] - 2020-09-22
(cobra 2 cobra) specify as an HTTP header which channel we will republish to
2020-09-19 00:25:10 +02:00
## [10.4.2] - 2020-09-18
(cobra bots) change an error log to a warning log when reconnecting because no messages were received for a minute
2020-09-19 00:11:12 +02:00
## [10.4.1] - 2020-09-18
(cobra connection and bots) set an HTTP header when connecting to help with debugging bots
2020-09-12 23:17:06 +02:00
## [10.4.0] - 2020-09-12
(http server) read body request when the Content-Length is specified + set timeout to read the request to 30 seconds max by default, and make it configurable as a constructor parameter
2020-09-10 03:01:38 +02:00
## [10.3.5] - 2020-09-09
(ws) autoroute command exit on its own once all messages have been received
2020-09-04 22:47:12 +02:00
## [10.3.4] - 2020-09-04
(docker) ws docker file installs strace
2020-09-03 18:13:23 +02:00
## [10.3.3] - 2020-09-02
(ws) echo_client command renamed to autoroute. Command exit once the server close the connection. push_server commands exit once N messages have been sent.
2020-08-31 22:45:00 +02:00
## [10.3.2] - 2020-08-31
(ws + cobra bots) add a cobra_to_cobra ws subcommand to subscribe to a channel and republish received events to a different channel
2020-08-28 23:55:40 +02:00
## [10.3.1] - 2020-08-28
(socket servers) merge the ConnectionInfo class with the ConnectionState one, which simplify all the server apis
2020-08-26 22:38:45 +02:00
## [10.3.0] - 2020-08-26
(ws) set the main thread name, to help with debugging in XCode, gdb, lldb etc...
2020-08-19 19:00:00 +02:00
## [10.2.9] - 2020-08-19
(ws) cobra to python bot / take a module python name as argument foo.bar.baz instead of a path foo/bar/baz.py
2020-08-19 18:31:57 +02:00
## [10.2.8] - 2020-08-19
(ws) on Linux with mbedtls, when the system ca certs are specified (the default) pick up sensible OS supplied paths (tested with CentOS and Alpine)
2020-08-18 23:09:27 +02:00
## [10.2.7] - 2020-08-18
(ws push_server) on the server side, stop sending and close the connection when the remote end has disconnected
2020-08-18 01:48:26 +02:00
## [10.2.6] - 2020-08-17
(ixwebsocket) replace std::unique_ptr< unsigned char [ ] > with std::array for some fixed arrays (which are in C++11)
2020-08-16 04:29:57 +02:00
## [10.2.5] - 2020-08-15
(ws) merge all ws_*.cpp files into a single one to speedup compilation
2020-08-16 03:32:59 +02:00
## [10.2.4] - 2020-08-15
(socket server) in the loop accepting connections, call select without a timeout on unix to avoid busy looping, and only wake up when a new connection happens
2020-08-16 01:24:35 +02:00
## [10.2.3] - 2020-08-15
(socket server) instead of busy looping with a sleep, only wake up the GC thread when a new thread will have to be joined, (we know that thanks to the ConnectionState OnSetTerminated callback
2020-08-16 01:03:40 +02:00
## [10.2.2] - 2020-08-15
(socket server) add a callback to the ConnectionState to be invoked when the connection is terminated. This will be used by the SocketServer in the future to know on time that the associated connection thread can be terminated.
2020-08-16 00:28:15 +02:00
## [10.2.1] - 2020-08-15
(socket server) do not create a select interrupt object everytime when polling for notifications while waiting for new connections, instead use a persistent one which is a member variable
2020-08-15 03:13:34 +02:00
## [10.2.0] - 2020-08-14
(ixwebsocket client) handle HTTP redirects
2020-08-14 07:10:38 +02:00
## [10.2.0] - 2020-08-13
(ws) upgrade to latest version of nlohmann json (3.9.1 from 3.2.0)
2020-08-14 06:20:42 +02:00
## [10.1.9] - 2020-08-13
(websocket proxy server) add ability to map different hosts to different websocket servers, using a json config file
2020-08-13 03:55:13 +02:00
## [10.1.8] - 2020-08-12
(ws) on macOS, with OpenSSL or MbedTLS, use /etc/ssl/cert.pem as the system certs
2020-08-12 00:44:06 +02:00
## [10.1.7] - 2020-08-11
(ws) -q option imply info log level, not warning log level
2020-08-06 13:40:32 +02:00
## [10.1.6] - 2020-08-06
(websocket server) Handle programmer error when the server callback is not registered properly (fix #227 )
2020-08-02 21:41:34 +02:00
## [10.1.5] - 2020-08-02
(ws) Add a new ws sub-command, push_server. This command runs a server which sends many messages in a loop to a websocket client. We can receive above 200,000 messages per second (cf #235 ).
2020-08-02 21:09:13 +02:00
## [10.1.4] - 2020-08-02
2020-08-02 21:41:34 +02:00
(ws) Add a new ws sub-command, echo_client. This command sends a message to an echo server, and send back to a server whatever message it does receive. When connecting to a local ws echo_server, on my MacBook Pro 2015 I can send/receive around 30,000 messages per second. (cf #235 )
2020-08-02 21:09:13 +02:00
## [10.1.3] - 2020-08-02
(ws) ws echo_server. Add a -q option to only enable warning and error log levels. This is useful for bench-marking so that we do not print a lot of things on the console. (cf #235 )
2020-08-01 07:54:57 +02:00
## [10.1.2] - 2020-07-31
(build) make using zlib optional, with the caveat that some http and websocket features are not available when zlib is absent
2020-07-30 02:47:33 +02:00
## [10.1.1] - 2020-07-29
(websocket client) onProgressCallback not called for short messages on a websocket (fix #233 )
2020-07-29 20:24:42 +02:00
## [10.1.0] - 2020-07-29
(websocket client) heartbeat is not sent at the requested frequency (fix #232 )
2020-07-29 06:46:26 +02:00
## [10.0.3] - 2020-07-28
compiler warning fixes
2020-07-28 19:32:18 +02:00
## [10.0.2] - 2020-07-28
(ixcobra) CobraConnection: unsubscribe from all subscriptions when disconnecting
2020-07-28 03:17:13 +02:00
## [10.0.1] - 2020-07-27
(socket utility) move ix::getFreePort to ixwebsocket library
2020-07-25 20:42:07 +02:00
## [10.0.0] - 2020-07-25
(ixwebsocket server) change legacy api with 2 nested callbacks, so that the first api takes a weak_ptr< WebSocket > as its first argument
2020-07-25 20:26:06 +02:00
## [9.10.7] - 2020-07-25
(ixwebsocket) add WebSocketProxyServer, from ws. Still need to make the interface better.
2020-07-24 23:35:07 +02:00
## [9.10.6] - 2020-07-24
(ws) port broadcast_server sub-command to the new server API
2020-07-24 21:49:36 +02:00
## [9.10.5] - 2020-07-24
2020-07-24 21:33:17 +02:00
2020-07-24 21:49:36 +02:00
(unittest) port most unittests to the new server API
2020-07-24 21:33:17 +02:00
2020-07-24 20:52:16 +02:00
## [9.10.3] - 2020-07-24
(ws) port ws transfer to the new server API
2020-07-24 19:03:29 +02:00
## [9.10.2] - 2020-07-24
(websocket client) reset WebSocketTransport onClose callback in the WebSocket destructor
2020-07-24 18:41:02 +02:00
## [9.10.1] - 2020-07-24
(websocket server) reset client websocket callback when the connection is closed
2020-07-24 04:29:41 +02:00
## [9.10.0] - 2020-07-23
(websocket server) add a new simpler API to handle client connections / that API does not trigger a memory leak while the previous one did
2020-07-17 20:58:06 +02:00
## [9.9.3] - 2020-07-17
(build) merge platform specific files which were used to have different implementations for setting a thread name into a single file, to make it easier to include every source files and build the ixwebsocket library (fix #226 )
2020-07-11 02:11:11 +02:00
## [9.9.2] - 2020-07-10
(socket server) bump default max connection count from 32 to 128
2020-07-11 01:10:59 +02:00
## [9.9.1] - 2020-07-10
(snake) implement super simple stream sql expression support in snake server
2020-07-08 21:10:35 +02:00
## [9.9.0] - 2020-07-08
(socket+websocket+http+redis+snake servers) expose the remote ip and remote port when a new connection is made
2020-07-07 19:58:20 +02:00
## [9.8.6] - 2020-07-06
(cmake) change the way zlib and openssl are searched
2020-07-07 01:15:24 +02:00
## [9.8.5] - 2020-07-06
(cobra python bots) remove the test which stop the bot when events do not follow cobra metrics system schema with an id and a device entry
2020-06-27 01:49:08 +02:00
## [9.8.4] - 2020-06-26
(cobra bots) remove bots which is not required now that we can use Python extensions
2020-06-25 19:05:02 +02:00
## [9.8.3] - 2020-06-25
(cmake) new python code is optional and enabled at cmake time with -DUSE_PYTHON=1
2020-06-25 08:21:19 +02:00
## [9.8.2] - 2020-06-24
(cobra bots) new cobra metrics bot to send data to statsd using Python for processing the message
2020-06-20 03:10:49 +02:00
## [9.8.1] - 2020-06-19
(cobra metrics to statsd bot) fps slow frame info : do not include os name
2020-06-20 02:46:59 +02:00
## [9.8.0] - 2020-06-19
(cobra metrics to statsd bot) send info about memory warnings
2020-06-19 09:11:06 +02:00
## [9.7.9] - 2020-06-18
(http client) fix deadlock when following redirects
2020-06-18 20:25:48 +02:00
## [9.7.8] - 2020-06-18
(cobra metrics to statsd bot) send info about net requests
2020-06-18 02:13:45 +02:00
## [9.7.7] - 2020-06-17
(cobra client and bots) add batch_size subscription option for retrieving multiple messages at once
2020-06-16 03:29:05 +02:00
## [9.7.6] - 2020-06-15
(websocket) WebSocketServer is not a final class, so that users can extend it (fix #215 )
2020-06-16 01:08:58 +02:00
## [9.7.5] - 2020-06-15
(cobra bots) minor aesthetic change, in how we display http headers with a : then space as key value separator instead of :: with no space
2020-06-12 22:47:01 +02:00
## [9.7.4] - 2020-06-11
(cobra metrics to statsd bot) change from a statsd type of gauge to a timing one
2020-06-12 03:49:45 +02:00
## [9.7.3] - 2020-06-11
(redis cobra bots) capture most used devices in a zset
2020-06-12 02:30:42 +02:00
## [9.7.2] - 2020-06-11
(ws) add bare bone redis-cli like sub-command, with command line editing powered by libnoise
2020-06-11 17:33:36 +02:00
## [9.7.1] - 2020-06-11
(redis cobra bots) ws cobra metrics to redis / hostname invalid parsing
2020-06-11 17:20:03 +02:00
## [9.7.0] - 2020-06-11
(redis cobra bots) xadd with maxlen + fix bug in xadd client implementation and ws cobra metrics to redis command argument parsing
2020-06-11 07:30:55 +02:00
## [9.6.9] - 2020-06-10
(redis cobra bots) update the cobra to redis bot to use the bot framework, and change it to report fps metrics into redis streams.
2020-06-04 18:35:55 +02:00
## [9.6.6] - 2020-06-04
(statsd cobra bots) statsd improvement: prefix does not need a dot as a suffix, message size can be larger than 256 bytes, error handling was invalid, use core logger for logging instead of std::cerr
2020-05-30 01:49:29 +02:00
## [9.6.5] - 2020-05-29
(http server) support gzip compression
2020-05-20 19:58:30 +02:00
## [9.6.4] - 2020-05-20
(compiler fix) support clang 5 and earlier (contributed by @LunarWatcher )
2020-05-19 06:18:43 +02:00
## [9.6.3] - 2020-05-18
(cmake) revert CMake changes to fix #203 and be able to use an external OpenSSL
2020-05-18 05:36:17 +02:00
## [9.6.2] - 2020-05-17
(cmake) make install cmake files optional to not conflict with vcpkg
2020-05-17 19:32:30 +02:00
## [9.6.1] - 2020-05-17
(windows + tls) mbedtls is the default windows tls backend + add ability to load system certificates with mbdetls on windows
2020-05-13 06:40:17 +02:00
## [9.6.0] - 2020-05-12
(ixbots) add options to limit how many messages per minute should be processed
2020-05-13 04:08:16 +02:00
## [9.5.9] - 2020-05-12
(ixbots) add new class to configure a bot to simplify passing options around
2020-05-08 18:54:42 +02:00
## [9.5.8] - 2020-05-08
(openssl tls) (openssl < 1.1 ) logic inversion - crypto locking callback are not registered properly
2020-05-08 18:31:53 +02:00
## [9.5.7] - 2020-05-08
(cmake) default TLS back to mbedtls on Windows Universal Platform
2020-05-07 07:01:48 +02:00
## [9.5.6] - 2020-05-06
(cobra bots) add a --heartbeat_timeout option to specify when the bot should terminate because no events are received
2020-05-07 01:26:30 +02:00
## [9.5.5] - 2020-05-06
(openssl tls) when OpenSSL is older than 1.1, register the crypto locking callback to be thread safe. Should fix lots of CI failures
2020-05-05 00:45:11 +02:00
## [9.5.4] - 2020-05-04
(cobra bots) do not use a queue to store messages pending processing, let the bot handle queuing
2020-04-29 20:53:23 +02:00
## [9.5.3] - 2020-04-29
(http client) better current request cancellation support when the HttpClient destructor is invoked (see #189 )
2020-04-27 21:36:56 +02:00
## [9.5.2] - 2020-04-27
(cmake) fix cmake broken tls option parsing
2020-04-27 18:43:31 +02:00
## [9.5.1] - 2020-04-27
(http client) Set default values for most HttpRequestArgs struct members (fix #185 )
2020-04-26 00:36:31 +02:00
## [9.5.0] - 2020-04-25
(ssl) Default to OpenSSL on Windows, since it can load the system certificates by default
2020-04-25 20:41:58 +02:00
## [9.4.1] - 2020-04-25
(header) Add a space between header name and header value since most http parsers expects it, although it it not required. Cf #184 and #155
2020-04-25 00:50:39 +02:00
## [9.4.0] - 2020-04-24
(ssl) Add support for supplying SSL CA from memory, for OpenSSL and MbedTLS backends
2020-04-17 18:56:09 +02:00
## [9.3.3] - 2020-04-17
(ixbots) display sent/receive message, per seconds as accumulated
2020-04-17 18:35:47 +02:00
## [9.3.2] - 2020-04-17
(ws) add a --logfile option to configure all logs to go to a file
2020-04-16 23:49:49 +02:00
## [9.3.1] - 2020-04-16
2020-04-17 06:58:10 +02:00
(cobra bots) add a utility class to factor out the common bots features (heartbeat) and move all bots to used it + convert cobra_subscribe to be a bot and add a unittest for it
2020-04-16 23:49:49 +02:00
2020-04-16 03:33:36 +02:00
## [9.3.0] - 2020-04-15
(websocket) add a positive number to the heartbeat message sent, incremented each time the heartbeat is sent
2020-04-16 02:38:21 +02:00
## [9.2.9] - 2020-04-15
(ixcobra) change cobra event callback to use a struct instead of several objects, which is more flexible/extensible
2020-04-16 01:59:17 +02:00
## [9.2.8] - 2020-04-15
(ixcobra) make CobraConnection_EventType an enum class (CobraEventType)
2020-04-15 07:02:51 +02:00
## [9.2.7] - 2020-04-14
(ixsentry) add a library method to upload a payload directly to sentry
2020-04-15 00:30:30 +02:00
## [9.2.6] - 2020-04-14
(ixcobra) snake server / handle invalid incoming json messages + cobra subscriber in fluentd mode insert a created_at timestamp entry
2020-04-14 06:56:01 +02:00
## [9.2.5] - 2020-04-13
(websocket) WebSocketMessagePtr is a unique_ptr instead of a shared_ptr
2020-04-14 06:38:15 +02:00
## [9.2.4] - 2020-04-13
(websocket) use persistent member variable as temp variables to encode/decode zlib messages in order to reduce transient allocations
2020-04-14 04:03:53 +02:00
## [9.2.3] - 2020-04-13
(ws) add a --runtime option to ws cobra_subscribe to optionally limit how much time it will run
2020-04-11 22:31:39 +02:00
## [9.2.2] - 2020-04-04
(third_party deps) fix #177 , update bundled spdlog to 1.6.0
2020-04-05 03:33:01 +02:00
## [9.2.1] - 2020-04-04
(windows) when using OpenSSL, the system store is used to populate the cacert. No need to ship a cacert.pem file with your app.
2020-04-05 02:49:52 +02:00
## [9.2.0] - 2020-04-04
(windows) ci: windows build with TLS (mbedtls) + verify that we can be build with OpenSSL
2020-03-31 01:08:47 +02:00
## [9.1.9] - 2020-03-30
(cobra to statsd bot) add ability to extract a numerical value and send a timer event to statsd, with the --timer option
2020-03-30 07:03:27 +02:00
## [9.1.8] - 2020-03-29
(cobra to statsd bot) bot init was missing + capture socket error
2020-03-30 04:31:49 +02:00
## [9.1.7] - 2020-03-29
2020-03-31 01:08:47 +02:00
(cobra to statsd bot) add ability to extract a numerical value and send a gauge event to statsd, with the --gauge option
2020-03-30 04:31:49 +02:00
2020-03-30 00:24:46 +02:00
## [9.1.6] - 2020-03-29
(ws cobra subscriber) use a Json::StreamWriter to write to std::cout, and save one std::string allocation for each message printed
2020-03-29 22:05:31 +02:00
## [9.1.5] - 2020-03-29
(docker) trim down docker image (300M -> 12M) / binary built without symbol and size optimization, and source code not copied over
2020-03-28 18:46:42 +01:00
## [9.1.4] - 2020-03-28
(jsoncpp) update bundled copy to version 1.9.3 (at sha 3beb37ea14aec1bdce1a6d542dc464d00f4a6cec)
## [9.1.3] - 2020-03-27
(docker) alpine docker build with release with debug info, and bundle ca-certificates
2020-03-27 03:40:52 +01:00
## [9.1.2] - 2020-03-26
(mac ssl) rename DarwinSSL -> SecureTransport (see this too -> https://github.com/curl/curl/issues/3733)
2020-03-27 03:31:59 +01:00
## [9.1.1] - 2020-03-26
(websocket) fix data race accessing _socket object without mutex protection when calling wakeUpFromPoll in WebSocketTransport.cpp
2020-03-27 02:54:28 +01:00
## [9.1.0] - 2020-03-26
(ixcobra) add explicit event types for handshake, authentication and subscription failure, and handle those by exiting in ws_cobra_subcribe and friends
2020-03-25 04:29:09 +01:00
## [9.0.3] - 2020-03-24
(ws connect) display statistics about how much time it takes to stop the connection
2020-03-24 20:40:58 +01:00
## [9.0.2] - 2020-03-24
(socket) works with unique_ptr< Socket > instead of shared_ptr< Socket > in many places
2020-03-24 18:00:41 +01:00
## [9.0.1] - 2020-03-24
(socket) selectInterrupt member is an unique_ptr instead of being a shared_ptr
2020-03-24 02:46:30 +01:00
## [9.0.0] - 2020-03-23
(websocket) reset per-message deflate codec everytime we connect to a server/client
2020-03-23 23:21:53 +01:00
## [8.3.4] - 2020-03-23
(websocket) fix #167 , a long standing issue with sending empty messages with per-message deflate extension (and hopefully other zlib bug)
2020-03-23 03:36:29 +01:00
## [8.3.3] - 2020-03-22
(cobra to statsd) port to windows and add a unittest
2020-03-21 00:57:27 +01:00
## [8.3.2] - 2020-03-20
(websocket+tls) fix hang in tls handshake which could lead to ANR, discovered through unittesting.
2020-03-20 20:21:45 +01:00
## [8.3.1] - 2020-03-20
(cobra) CobraMetricsPublisher can be configure with an ix::CobraConfig + more unittest use SSL in server + client
2020-03-18 09:15:15 +01:00
## [8.3.0] - 2020-03-18
(websocket) Simplify ping/pong based heartbeat implementation
2020-03-18 07:54:32 +01:00
## [8.2.7] - 2020-03-17
(ws) ws connect gains a new option to set the interval at which to send pings
2020-03-18 08:01:57 +01:00
(ws) ws echo_server gains a new option (-p) to disable responding to pings with pongs
2020-03-18 07:54:32 +01:00
```
IXWebSocket$ ws connect --ping_interval 2 wss://echo.websocket.org
Type Ctrl-D to exit prompt...
Connecting to url: wss://echo.websocket.org
> ws_connect: connected
[2020-03-17 23:53:02.726] [info] Uri: /
[2020-03-17 23:53:02.726] [info] Headers:
[2020-03-17 23:53:02.727] [info] Connection: Upgrade
[2020-03-17 23:53:02.727] [info] Date: Wed, 18 Mar 2020 06:45:05 GMT
[2020-03-17 23:53:02.727] [info] Sec-WebSocket-Accept: 0gtqbxW0aVL/QI/ICpLFnRaiKgA=
[2020-03-17 23:53:02.727] [info] sec-websocket-extensions:
[2020-03-17 23:53:02.727] [info] Server: Kaazing Gateway
[2020-03-17 23:53:02.727] [info] Upgrade: websocket
[2020-03-17 23:53:04.894] [info] Received pong
[2020-03-17 23:53:06.859] [info] Received pong
[2020-03-17 23:53:08.881] [info] Received pong
[2020-03-17 23:53:10.848] [info] Received pong
[2020-03-17 23:53:12.898] [info] Received pong
[2020-03-17 23:53:14.865] [info] Received pong
[2020-03-17 23:53:16.890] [info] Received pong
[2020-03-17 23:53:18.853] [info] Received pong
[2020-03-17 23:53:19.388] [info]
ws_connect: connection closed: code 1000 reason Normal closure
[2020-03-17 23:53:19.502] [info] Received 208 bytes
[2020-03-17 23:53:19.502] [info] Sent 0 bytes
```
2020-03-16 18:05:21 +01:00
## [8.2.6] - 2020-03-16
(cobra to sentry bot + docker) default docker file uses mbedtls + ws cobra_to_sentry pass tls options to sentryClient.
2020-03-14 01:30:31 +01:00
## [8.2.5] - 2020-03-13
(cobra client) ws cobra subscribe resubscribe at latest position after being disconnected
2020-03-14 00:06:13 +01:00
## [8.2.4] - 2020-03-13
(cobra client) can subscribe with a position
2020-03-13 20:49:37 +01:00
## [8.2.3] - 2020-03-13
(cobra client) pass the message position to the subscription data callback
2020-03-13 00:27:25 +01:00
## [8.2.2] - 2020-03-12
(openssl tls backend) Fix a hand in OpenSSL when using TLS v1.3 ... by disabling TLS v1.3
2020-03-11 20:40:32 +01:00
## [8.2.1] - 2020-03-11
(cobra) IXCobraConfig struct has tlsOptions and per message deflate options
2020-03-11 18:48:27 +01:00
## [8.2.0] - 2020-03-11
(cobra) add IXCobraConfig struct to pass cobra config around
2020-03-09 23:25:43 +01:00
## [8.1.9] - 2020-03-09
(ws cobra_subscribe) add a --fluentd option to wrap a message in an enveloppe so that fluentd can recognize it
2020-03-03 01:53:08 +01:00
## [8.1.8] - 2020-03-02
(websocket server) fix regression with disabling zlib extension on the server side. If a client does not support this extension the server will handle it fine. We still need to figure out how to disable the option.
2020-02-26 20:24:41 +01:00
## [8.1.7] - 2020-02-26
(websocket) traffic tracker received bytes is message size while it should be wire size
2020-02-26 20:23:36 +01:00
## [8.1.6] - 2020-02-26
(ws_connect) display sent/received bytes statistics on exit
2020-02-23 18:44:58 +01:00
## [8.1.5] - 2020-02-23
(server) give thread name to some usual worker threads / unittest is broken !!
2020-02-22 19:15:43 +01:00
## [8.1.4] - 2020-02-22
(websocket server) fix regression from 8.1.2, where per-deflate message compression was always disabled
2020-02-21 23:05:38 +01:00
## [8.1.3] - 2020-02-21
(client + server) Fix #155 / http header parser should treat the space(s) after the : delimiter as optional. Fixing this bug made us discover that websocket sub-protocols are not properly serialiazed, but start with a ,
2020-02-19 06:38:28 +01:00
## [8.1.2] - 2020-02-18
(WebSocketServer) add option to disable deflate compression, exposed with the -x option to ws echo_server
2020-02-18 21:40:46 +01:00
## [8.1.1] - 2020-02-18
(ws cobra to statsd and sentry sender) exit if no messages are received for one minute, which is a sign that something goes wrong on the server side. That should be changed to be configurable in the future
2020-02-13 21:25:18 +01:00
## [8.1.0] - 2020-02-13
(http client + sentry minidump upload) Multipart stream closing boundary is invalid + mark some options as mandatory in the command line tools
2020-02-12 20:21:46 +01:00
## [8.0.7] - 2020-02-12
(build) remove the unused subtree which was causing some way of installing to break
2020-02-01 01:55:54 +01:00
## [8.0.6] - 2020-01-31
2020-03-22 03:31:38 +01:00
(snake) add an option to disable answering pongs as response to pings, to test cobra client behavior with hanged connections
2020-02-01 01:55:54 +01:00
2020-02-01 01:25:45 +01:00
## [8.0.5] - 2020-01-31
(IXCobraConnection) set a ping timeout of 90 seconds. If no pong messages are received as responses to ping for a while, give up and close the connection
2020-02-01 01:07:36 +01:00
## [8.0.4] - 2020-01-31
(cobra to sentry) remove noisy logging
2020-01-31 05:52:11 +01:00
## [8.0.3] - 2020-01-30
(ixcobra) check if we are authenticated in publishNext before trying to publish a message
2020-01-28 23:04:18 +01:00
## [8.0.2] - 2020-01-28
Extract severity level when emitting messages to sentry
2020-01-28 19:50:03 +01:00
## [8.0.1] - 2020-01-28
Fix bug #151 - If a socket connection is interrupted, calling stop() on the IXWebSocket object blocks until the next retry
2020-01-27 01:17:26 +01:00
## [8.0.0] - 2020-01-26
(SocketServer) add ability to bind on an ipv6 address
2020-01-23 06:11:48 +01:00
## [7.9.6] - 2020-01-22
(ws) add a dnslookup sub-command, to get the ip address of a remote host
2020-01-14 22:38:38 +01:00
## [7.9.5] - 2020-01-14
(windows) fix #144 , get rid of stubbed/un-implemented windows schannel ssl backend
2020-01-12 20:08:44 +01:00
## [7.9.4] - 2020-01-12
(openssl + mbedssl) fix #140 , can send large files with ws send over ssl / still broken with apple ssl
2020-01-11 03:32:34 +01:00
## [7.9.3] - 2020-01-10
(apple ssl) model write method after the OpenSSL one for consistency
2020-01-07 00:19:14 +01:00
## [7.9.2] - 2020-01-06
(apple ssl) unify read and write ssl utility code
2020-01-06 23:34:09 +01:00
## [7.9.1] - 2020-01-06
(websocket client) better error propagation when errors are detected while sending data
(ws send) detect failures to send big files, terminate in those cases and report error
2020-01-05 00:08:36 +01:00
## [7.9.0] - 2020-01-04
(ws send) add option (-x) to disable per message deflate compression
2020-01-04 22:45:07 +01:00
## [7.8.9] - 2020-01-04
(ws send + receive) handle all message types (ping + pong + fragment) / investigate #140
2019-12-31 07:14:53 +01:00
## [7.8.8] - 2019-12-28
2019-12-31 00:19:13 +01:00
(mbedtls) fix related to private key file parsing and initialization
2019-12-29 02:28:05 +01:00
## [7.8.6] - 2019-12-28
(ws cobra to sentry/statsd) fix for handling null events properly for empty queues + use queue to send data to statsd
2019-12-28 19:16:18 +01:00
## [7.8.5] - 2019-12-28
(ws cobra to sentry) handle null events for empty queues
2019-12-28 04:10:15 +01:00
## [7.8.4] - 2019-12-27
(ws cobra to sentry) game is picked in a fair manner, so that all games get the same share of sent events
2019-12-28 03:24:45 +01:00
## [7.8.3] - 2019-12-27
(ws cobra to sentry) refactor queue related code into a class
2019-12-26 07:15:57 +01:00
## [7.8.2] - 2019-12-25
(ws cobra to sentry) bound the queue size used to hold up cobra messages before they are sent to sentry. Default queue size is a 100 messages. Without such limit the program runs out of memory when a subscriber receive a lot of messages that cannot make it to sentry
2019-12-25 18:03:57 +01:00
## [7.8.1] - 2019-12-25
(ws client) use correct compilation defines so that spdlog is not used as a header only library (reduce binary size and increase compilation speed)
## [7.8.0] - 2019-12-24
2019-12-25 06:55:34 +01:00
(ws client) all commands use spdlog instead of std::cerr or std::cout for logging
2019-12-25 02:16:41 +01:00
## [7.6.5] - 2019-12-24
(cobra client) send a websocket ping every 30s to keep the connection opened
2019-12-23 05:32:10 +01:00
## [7.6.4] - 2019-12-22
2019-12-23 05:33:14 +01:00
(client) error handling, quote url in error case when failing to parse one
2019-12-23 05:32:10 +01:00
(ws) ws_cobra_publish: register callbacks before connecting
(doc) mention mbedtls in supported ssl server backend
2019-12-21 00:18:04 +01:00
## [7.6.3] - 2019-12-20
(tls) add a simple description of the TLS configuration routine for debugging
2019-12-21 00:13:26 +01:00
## [7.6.2] - 2019-12-20
(mbedtls) correct support for using own certificate and private key
2019-12-20 18:51:21 +01:00
## [7.6.1] - 2019-12-20
(ws commands) in websocket proxy, disable automatic reconnections + in Dockerfile, use alpine 3.11
2019-12-20 05:49:28 +01:00
## [7.6.0] - 2019-12-19
(cobra) Add TLS options to all cobra commands and classes. Add example to the doc.
2019-12-19 00:40:01 +01:00
## [7.5.8] - 2019-12-18
(cobra-to-sentry) capture application version from device field
2019-12-18 20:51:02 +01:00
## [7.5.7] - 2019-12-18
(tls) Experimental TLS server support with mbedtls (windows) + process cert tlsoption (client + server)
2019-12-18 19:43:05 +01:00
## [7.5.6] - 2019-12-18
(tls servers) Make it clear that apple ssl and mbedtls backends do not support SSL in server mode
2019-12-17 23:10:28 +01:00
## [7.5.5] - 2019-12-17
(tls options client) TLSOptions struct _validated member should be initialized to false
2019-12-17 02:57:43 +01:00
## [7.5.4] - 2019-12-16
(websocket client) improve the error message when connecting to a non websocket server
Before:
```
Connection error: Got bad status connecting to example.com:443, status: 200, HTTP Status line: HTTP/1.1 200 OK
```
After:
```
Connection error: Expecting status 101 (Switching Protocol), got 200 status connecting to example.com:443, HTTP Status line: HTTP/1.1 200 OK
```
2019-12-12 21:17:29 +01:00
## [7.5.3] - 2019-12-12
(server) attempt at fixing #131 by using blocking writes in server mode
2019-12-12 02:27:37 +01:00
## [7.5.2] - 2019-12-11
(ws) cobra to sentry - created events with sentry tags based on tags present in the cobra messages
2019-12-07 01:45:49 +01:00
## [7.5.1] - 2019-12-06
(mac) convert SSL errors to utf8
2019-12-06 00:59:29 +01:00
## [7.5.0] - 2019-12-05
- (ws) cobra to sentry. Handle Error 429 Too Many Requests and politely wait before sending more data to sentry.
In the example below sentry we are sending data too fast, sentry asks us to slow down which we do. Notice how the sent count stop increasing, while we are waiting for 41 seconds.
```
[2019-12-05 15:50:33.759] [info] messages received 2449 sent 3
[2019-12-05 15:50:34.759] [info] messages received 5533 sent 7
[2019-12-05 15:50:35.759] [info] messages received 8612 sent 11
[2019-12-05 15:50:36.759] [info] messages received 11562 sent 15
[2019-12-05 15:50:37.759] [info] messages received 14410 sent 19
[2019-12-05 15:50:38.759] [info] messages received 17236 sent 23
[2019-12-05 15:50:39.282] [error] Error sending data to sentry: 429
[2019-12-05 15:50:39.282] [error] Body: {"exception":[{"stacktrace":{"frames":[{"filename":"WorldScene.lua","function":"WorldScene.lua:1935","lineno":1958},{"filename":"WorldScene.lua","function":"onUpdate_WorldCam","lineno":1921},{"filename":"WorldMapTile.lua","function":"__index","lineno":239}]},"value":"noisytypes: Attempt to call nil(nil,2224139838)!"}],"platform":"python","sdk":{"name":"ws","version":"1.0.0"},"tags":[["game","niso"],["userid","107638363"],["environment","live"]],"timestamp":"2019-12-05T23:50:39Z"}
[2019-12-05 15:50:39.282] [error] Response: {"error_name":"rate_limit","error":"Creation of this event was denied due to rate limiting"}
[2019-12-05 15:50:39.282] [warning] Error 429 - Too Many Requests. ws will sleep and retry after 41 seconds
[2019-12-05 15:50:39.760] [info] messages received 18839 sent 25
[2019-12-05 15:50:40.760] [info] messages received 18839 sent 25
[2019-12-05 15:50:41.760] [info] messages received 18839 sent 25
[2019-12-05 15:50:42.761] [info] messages received 18839 sent 25
[2019-12-05 15:50:43.762] [info] messages received 18839 sent 25
[2019-12-05 15:50:44.763] [info] messages received 18839 sent 25
[2019-12-05 15:50:45.768] [info] messages received 18839 sent 25
```
2019-12-04 02:18:16 +01:00
## [7.4.5] - 2019-12-03
- (ws) #125 / fix build problem when jsoncpp is not installed locally
2019-12-04 01:01:46 +01:00
## [7.4.4] - 2019-12-03
- (ws) #125 / cmake detects an already installed jsoncpp and will try to use this one if present
2019-12-03 18:25:00 +01:00
## [7.4.3] - 2019-12-03
- (http client) use std::unordered_map instead of std::map for HttpParameters and HttpFormDataParameters class aliases
2019-12-02 23:52:19 +01:00
## [7.4.2] - 2019-12-02
- (client) internal IXDNSLookup class requires a valid cancellation request function callback to be passed in
2019-12-02 22:51:45 +01:00
## [7.4.1] - 2019-12-02
- (client) fix an overflow in the exponential back off code
2019-11-26 06:08:43 +01:00
## [7.4.0] - 2019-11-25
- (http client) Add support for multipart HTTP POST upload
- (ixsentry) Add support for uploading a minidump to sentry
2019-11-20 22:58:08 +01:00
## [7.3.5] - 2019-11-20
- On Darwin SSL, add ability to skip peer verification.
2019-11-20 20:35:07 +01:00
## [7.3.4] - 2019-11-20
- 32-bits compile fix, courtesy of @fcojavmc
2019-11-16 23:21:44 +01:00
## [7.3.1] - 2019-11-16
- ws proxy_server / remote server close not forwarded to the client
2019-11-16 02:18:32 +01:00
## [7.3.0] - 2019-11-15
- New ws command: `ws proxy_server` .
2019-11-01 19:22:13 +01:00
## [7.2.2] - 2019-11-01
- Tag a release + minor reformating.
2019-10-26 19:54:47 +02:00
## [7.2.1] - 2019-10-26
- Add unittest to IXSentryClient to lua backtrace parsing code
2019-10-24 23:42:25 +02:00
## [7.2.0] - 2019-10-24
- Add cobra_metrics_to_redis sub-command to create streams for each cobra metric event being received.
2019-10-13 22:37:34 +02:00
## [7.1.0] - 2019-10-13
- Add client support for websocket subprotocol. Look for the new addSubProtocol method for details.
2019-10-02 01:01:32 +02:00
## [7.0.0] - 2019-10-01
- TLS support in server code, only implemented for the OpenSSL SSL backend for now.
2019-10-01 03:21:20 +02:00
## [6.3.4] - 2019-09-30
- all ws subcommands propagate tls options to servers (unimplemented) or ws or http client (implemented) (contributed by Matt DeBoer)
2019-10-01 02:31:33 +02:00
## [6.3.3] - 2019-09-30
- ws has a --version option
2019-09-30 07:10:07 +02:00
## [6.3.2] - 2019-09-29
- (http + websocket clients) can specify cacert and some other tls options (not implemented on all backend). This makes it so that server certs can finally be validated on windows.
2019-09-30 00:34:58 +02:00
## [6.3.1] - 2019-09-29
- Add ability to use OpenSSL on apple platforms.
2019-09-28 19:36:47 +02:00
## [6.3.0] - 2019-09-28
- ixcobra / fix crash in CobraConnection::publishNext when the queue is empty + handle CobraConnection_PublishMode_Batch in CobraMetricsThreadedPublisher
2019-09-27 23:07:01 +02:00
## [6.2.9] - 2019-09-27
- mbedtls fixes / the unittest now pass on macOS, and hopefully will on Windows/AppVeyor as well.
2019-09-26 18:10:30 +02:00
## [6.2.8] - 2019-09-26
2019-09-26 18:27:27 +02:00
- Http server: add options to ws https to redirect all requests to a given url. POST requests will get a 200 and an empty response.
2019-09-26 18:10:30 +02:00
```
ws httpd -L --redirect_url https://www.google.com
```
2019-09-26 00:39:43 +02:00
## [6.2.7] - 2019-09-25
- Stop having ws send subcommand send a binary message in text mode, which would cause error in `make ws_test` shell script test.
2019-09-25 00:42:28 +02:00
## [6.2.6] - 2019-09-24
2019-09-24 20:46:54 +02:00
- Fix 2 race conditions detected with TSan, one in CobraMetricsPublisher::push and another one in WebSocketTransport::sendData (that one was bad).
2019-09-24 06:04:01 +02:00
## [6.2.5] - 2019-09-23
- Add simple Redis Server which is only capable of doing publish / subscribe. New ws redis_server sub-command to use it. The server is used in the unittest, so that we can run on CI in environment where redis isn not available like github actions env.
2019-09-23 03:43:57 +02:00
## [6.2.4] - 2019-09-22
- Add options to configure TLS ; contributed by Matt DeBoer. Only implemented for OpenSSL TLS backend for now.
2019-09-21 18:23:58 +02:00
## [6.2.3] - 2019-09-21
- Fix crash in the Linux unittest in the HTTP client code, in Socket::readBytes
- Cobra Metrics Publisher code returns the message id of the message that got published, to be used to validated that it got sent properly when receiving an ack.
2019-09-19 21:51:11 +02:00
## [6.2.2] - 2019-09-19
- In DNS lookup code, make sure the weak pointer we use lives through the expected scope (if branch)
2019-09-17 21:08:52 +02:00
## [6.2.1] - 2019-09-17
- On error while doing a client handshake, additionally display port number next to the host name
2019-09-10 01:48:26 +02:00
## [6.2.0] - 2019-09-09
- websocket and http server: server does not close the bound client socket in many cases
2019-09-10 06:23:57 +02:00
- improve some websocket error messages
- add a utility function with unittest to parse status line and stop using scanf which triggers warnings on Windows
2019-09-10 06:25:33 +02:00
- update ws CLI11 (our command line argument parsing library) to the latest, which fix a compiler bug about optional
2019-09-10 01:48:26 +02:00
2019-09-08 20:14:49 +02:00
## [6.1.0] - 2019-09-08
- move poll wrapper on top of select (only used on Windows) to the ix namespace
2019-09-06 05:24:42 +02:00
## [6.0.1] - 2019-09-05
2019-09-06 06:57:05 +02:00
- add cobra metrics publisher + server unittest
- add cobra client + server unittest
2019-09-06 05:27:01 +02:00
- ws snake (cobra simple server) add basic support for unsubscription + subscribe send the proper subscription data + redis client subscription can be cancelled
2019-09-06 05:24:42 +02:00
- IXCobraConnection / pdu handlers can crash if they receive json data which is not an object
2019-09-05 06:01:30 +02:00
## [6.0.0] - 2019-09-04
- all client autobahn test should pass !
- zlib/deflate has a bug with windowsbits == 8, so we silently upgrade it to 9/ (fix autobahn test 13.X which uses 8 for the windows size)
2019-09-05 03:23:56 +02:00
## [5.2.0] - 2019-09-04
- Fragmentation: for sent messages which are compressed, the continuation fragments should not have the rsv1 bit set (fix all autobahn tests for zlib compression 12.X)
- Websocket Server / do a case insensitive string search when looking for an Upgrade header whose value is websocket. (some client use WebSocket with some upper-case characters)
2019-09-04 19:16:32 +02:00
## [5.1.9] - 2019-09-03
- ws autobahn / report progress with spdlog::info to get timing info
2019-09-04 21:21:54 +02:00
- ws autobahn / use condition variables for stopping test case + add more logging on errors
2019-09-04 19:16:32 +02:00
2019-09-04 02:42:48 +02:00
## [5.1.8] - 2019-09-03
- Per message deflate/compression: handle fragmented messages (fix autobahn test: 12.1.X and probably others)
2019-09-04 01:07:48 +02:00
## [5.1.7] - 2019-09-03
- Receiving invalid UTF-8 TEXT message should fail and close the connection (fix remaining autobahn test: 6.X UTF-8 Handling)
2019-09-03 23:12:40 +02:00
## [5.1.6] - 2019-09-03
2019-09-03 23:35:40 +02:00
- Sending invalid UTF-8 TEXT message should fail and close the connection (fix remaining autobahn test: 6.X UTF-8 Handling)
- Fix failing unittest which was sending binary data in text mode with WebSocket::send to call properly call WebSocket::sendBinary instead.
- Validate that the reason is proper utf-8. (fix autobahn test 7.5.1)
2019-09-04 00:43:16 +02:00
- Validate close codes. Autobahn 7.9.*
2019-09-03 23:12:40 +02:00
2019-09-03 21:02:29 +02:00
## [5.1.5] - 2019-09-03
Framentation: data and continuation blocks received out of order (fix autobahn test: 5.9 through 5.20 Fragmentation)
2019-09-03 19:30:22 +02:00
## [5.1.4] - 2019-09-03
Sending invalid UTF-8 TEXT message should fail and close the connection (fix **tons** of autobahn test: 6.X UTF-8 Handling)
2019-09-03 18:13:38 +02:00
## [5.1.3] - 2019-09-03
Message type (TEXT or BINARY) is invalid for received fragmented messages (fix autobahn test: 5.3 through 5.8 Fragmentation)
2019-09-02 19:13:40 +02:00
## [5.1.2] - 2019-09-02
2019-09-03 18:13:38 +02:00
Ping and Pong messages cannot be fragmented (fix autobahn test: 5.1 and 5.2 Fragmentation)
2019-09-02 19:13:40 +02:00
2019-09-02 01:23:00 +02:00
## [5.1.1] - 2019-09-01
2019-09-03 18:13:38 +02:00
Close connections when reserved bits are used (fix autobahn test: 3.X Reserved Bits)
2019-09-02 01:23:00 +02:00
2019-09-01 01:46:44 +02:00
## [5.1.0] - 2019-08-31
2019-09-03 21:02:29 +02:00
- ws autobahn / Add code to test websocket client compliance with the autobahn test-suite
- add utf-8 validation code, not hooked up properly yet
- Ping received with a payload too large (> 125 bytes) trigger a connection closure
- cobra / add tracking about published messages
2019-09-12 20:43:52 +02:00
- cobra / publish returns a message id, that can be used when
2019-09-03 21:02:29 +02:00
- cobra / new message type in the message received handler when publish/ok is received (can be used to implement an ack system).
2019-09-01 01:46:44 +02:00
2019-08-30 21:46:35 +02:00
## [5.0.9] - 2019-08-30
2019-09-03 21:02:29 +02:00
- User-Agent header is set when not specified.
- New option to cap the max wait between reconnection attempts. Still default to 10s. (setMaxWaitBetweenReconnectionRetries).
2019-08-30 21:46:35 +02:00
```
ws connect --max_wait 5000 ws://example.com # will only wait 5 seconds max between reconnection attempts
```
2019-08-26 18:51:25 +02:00
## [5.0.7] - 2019-08-23
2019-08-26 19:19:09 +02:00
- WebSocket: add new option to pass in extra HTTP headers when connecting.
2019-09-12 20:43:52 +02:00
- `ws connect` add new option (-H, works like [curl ](https://stackoverflow.com/questions/356705/how-to-send-a-header-using-a-http-request-through-a-curl-call )) to pass in extra HTTP headers when connecting
2019-08-26 19:19:09 +02:00
If you run against `ws echo_server` you will see the headers being received printed in the terminal.
```
ws connect -H "foo: bar" -H "baz: buz" ws://127.0.0.1:8008
```
2019-08-26 18:51:25 +02:00
- CobraConnection: sets a unique id field for all messages sent to [cobra ](https://github.com/machinezone/cobra ).
- CobraConnection: sets a counter as a field for each event published.
## [5.0.6] - 2019-08-22
- Windows: silly compile error (poll should be in the global namespace)
2019-08-22 19:34:17 +02:00
## [5.0.5] - 2019-08-22
- Windows: use select instead of WSAPoll, through a poll wrapper
2019-08-20 18:20:02 +02:00
## [5.0.4] - 2019-08-20
- Windows build fixes (there was a problem with the use of ::poll that has a different name on Windows (WSAPoll))
2019-08-15 04:53:57 +02:00
## [5.0.3] - 2019-08-14
- CobraMetricThreadedPublisher _enable flag is an atomic, and CobraMetricsPublisher is enabled by default
2019-08-02 00:22:24 +02:00
## [5.0.2] - 2019-08-01
- ws cobra_subscribe has a new -q (quiet) option
- ws cobra_subscribe knows to and display msg stats (count and # of messages received per second)
- ws cobra_subscribe, cobra_to_statsd and cobra_to_sentry commands have a new option, --filter to restrict the events they want to receive
2019-07-26 00:48:45 +02:00
## [5.0.1] - 2019-07-25
- ws connect command has a new option to send in binary mode (still default to text)
- ws connect command has readline history thanks to libnoise-cpp. Now ws connect one can use using arrows to lookup previous sent messages and edit them
2019-06-23 23:54:21 +02:00
## [5.0.0] - 2019-06-23
2019-06-09 23:27:45 +02:00
### Changed
2019-06-23 23:54:21 +02:00
- New HTTP server / still very early. ws gained a new command, httpd can run a simple webserver serving local files.
2019-06-19 09:43:59 +02:00
- IXDNSLookup. Uses weak pointer + smart_ptr + shared_from_this instead of static sets + mutex to handle object going away before dns lookup has resolved
2019-06-13 19:18:40 +02:00
- cobra_to_sentry / backtraces are reversed and line number is not extracted correctly
2019-06-10 20:18:27 +02:00
- mbedtls and zlib are searched with find_package, and we use the vendored version if nothing is found
2019-06-09 23:27:45 +02:00
- travis CI uses g++ on Linux
2019-06-09 20:55:34 +02:00
## [4.0.0] - 2019-06-09
2019-06-06 23:59:22 +02:00
### Changed
2019-06-09 20:55:34 +02:00
- 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
2019-06-09 20:35:31 +02:00
- WebSocket::send takes a third arg, binary which default to true (can be text too)
2019-06-09 20:33:17 +02:00
- WebSocket callback only take one object, a const ix::WebSocketMessagePtr& msg
2019-06-09 21:02:38 +02:00
- Add explicit WebSocket::sendBinary method
2019-06-09 19:22:27 +02:00
- 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.
2019-06-08 18:16:33 +02:00
- ws echo_server has a -g option to print a greeting message on connect
2019-06-09 19:22:27 +02:00
- IXSocketMbedTLS: better error handling in close and connect
2019-06-06 23:59:22 +02:00
2019-06-06 22:59:12 +02:00
## [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