Changelog

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

[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

[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

(ws client) all commands use spdlog instead of std::cerr or std::cout for logging

[7.6.5] - 2019-12-24

(cobra client) send a websocket ping every 30s to keep the connection opened

[7.6.4] - 2019-12-22

(client) error handling, quote url in error case when failing to parse one (ws) ws_cobra_publish: register callbacks before connecting (doc) mention mbedtls in supported ssl server backend

[7.6.3] - 2019-12-20

(tls) add a simple description of the TLS configuration routine for debugging

[7.6.2] - 2019-12-20

(mbedtls) correct support for using own certificate and private key

[7.6.1] - 2019-12-20

(ws commands) in websocket proxy, disable automatic reconnections + in Dockerfile, use alpine 3.11

[7.6.0] - 2019-12-19

(cobra) Add TLS options to all cobra commands and classes. Add example to the doc.

[7.5.8] - 2019-12-18

(cobra-to-sentry) capture application version from device field

[7.5.7] - 2019-12-18

(tls) Experimental TLS server support with mbedtls (windows) + process cert tlsoption (client + server)

[7.5.6] - 2019-12-18

(tls servers) Make it clear that apple ssl and mbedtls backends do not support SSL in server mode

[7.5.5] - 2019-12-17

(tls options client) TLSOptions struct _validated member should be initialized to false

[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

[7.5.3] - 2019-12-12

(server) attempt at fixing #131 by using blocking writes in server mode

[7.5.2] - 2019-12-11

(ws) cobra to sentry - created events with sentry tags based on tags present in the cobra messages

[7.5.1] - 2019-12-06

(mac) convert SSL errors to utf8

[7.5.0] - 2019-12-05

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

[7.4.5] - 2019-12-03

[7.4.4] - 2019-12-03

[7.4.3] - 2019-12-03

[7.4.2] - 2019-12-02

[7.4.1] - 2019-12-02

[7.4.0] - 2019-11-25

[7.3.5] - 2019-11-20

[7.3.4] - 2019-11-20

[7.3.1] - 2019-11-16

[7.3.0] - 2019-11-15

[7.2.2] - 2019-11-01

[7.2.1] - 2019-10-26

[7.2.0] - 2019-10-24

[7.1.0] - 2019-10-13

[7.0.0] - 2019-10-01

[6.3.4] - 2019-09-30

[6.3.3] - 2019-09-30

[6.3.2] - 2019-09-29

[6.3.1] - 2019-09-29

[6.3.0] - 2019-09-28

[6.2.9] - 2019-09-27

[6.2.8] - 2019-09-26

ws httpd -L --redirect_url https://www.google.com

[6.2.7] - 2019-09-25

[6.2.6] - 2019-09-24

[6.2.5] - 2019-09-23

[6.2.4] - 2019-09-22

[6.2.3] - 2019-09-21

[6.2.2] - 2019-09-19

[6.2.1] - 2019-09-17

[6.2.0] - 2019-09-09

[6.1.0] - 2019-09-08

[6.0.1] - 2019-09-05

[6.0.0] - 2019-09-04

[5.2.0] - 2019-09-04

[5.1.9] - 2019-09-03

[5.1.8] - 2019-09-03

[5.1.7] - 2019-09-03

[5.1.6] - 2019-09-03

[5.1.5] - 2019-09-03

Framentation: data and continuation blocks received out of order (fix autobahn test: 5.9 through 5.20 Fragmentation)

[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)

[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)

[5.1.2] - 2019-09-02

Ping and Pong messages cannot be fragmented (fix autobahn test: 5.1 and 5.2 Fragmentation)

[5.1.1] - 2019-09-01

Close connections when reserved bits are used (fix autobahn test: 3.X Reserved Bits)

[5.1.0] - 2019-08-31

[5.0.9] - 2019-08-30

ws connect --max_wait 5000 ws://example.com # will only wait 5 seconds max between reconnection attempts

[5.0.7] - 2019-08-23

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

[5.0.6] - 2019-08-22

[5.0.5] - 2019-08-22

[5.0.4] - 2019-08-20

[5.0.3] - 2019-08-14

[5.0.2] - 2019-08-01

[5.0.1] - 2019-07-25

[5.0.0] - 2019-06-23

Changed

[4.0.0] - 2019-06-09

Changed

[3.1.2] - 2019-06-06

Added

[3.0.0] - 2019-06-xx

Changed