Debian Codegraph @

LspCpp/third_party/ixwebsocket/docs/CHANGELOG.md

raw
1 # Changelog
2
3 All changes to this project will be documented in this file.
4
5 ## [11.4.5] - 2024-06-05
6
7 New changes are documented in the Release page in the GitHub repository.
8
9 ## [11.4.4] - 2023-06-05
10
11 ## [11.4.3] - 2022-05-13
12
13 Set shorter thread names
14 BoringSSL fix with SNI
15 Websocket computed header is valid Base64
16
17 ## [11.4.1] - 2022-04-23
18
19 vckpg + cmake fix, to handle zlib as a dependency better
20
21 ## [11.4.0] - 2022-01-05
22
23 (Windows) Use wsa select event, which should lead to a much better behavior on Windows in general, and also when sending large payloads (#342)
24 Fix "HTTP/1.1 400 Illegal character CNTL=0xf" caused by serverMaxWindowBits/clientMaxWindowBits being uint8_t (signed char). (#341)
25 Export symbols into .def files
26 Export symbols into .def files on MSVC (#339)
27 Include <cerrno> to provide standard error constants (#338)
28 Improved compatibility - fix mingw crossbuild (#337)
29 Allow to cancel asynchronous HTTP requests (#332)
30 Fix errors in example code. (#336)
31
32 ## [11.3.2] - 2021-11-24
33
34 (server) Add getters for basic Servers properties (like port, host, etc...) (#327) + fix one compiler warning
35
36 ## [11.3.1] - 2021-10-22
37
38 (library/cmake) Compatible with MbedTLS 3 + fix a bug on Windows where the incorrect remote port is computed (#320)
39
40 ## [11.3.0] - 2021-09-20
41
42 (library/cmake) Only find OpenSSL, MbedTLS, zlib if they have not already been found, make CMake install optional (#317) + Use GNUInstallDirs in cmake (#318)
43
44 ## [11.2.10] - 2021-07-27
45
46 (ws) bump CLI command line parsing library from 1.8 to 2.0
47
48 ## [11.2.9] - 2021-06-08
49
50 (ws) ws connect has a -g option to gzip decompress messages for API such as the websocket Huobi Global.
51
52 ## [11.2.8] - 2021-06-03
53
54 (websocket client + server) WebSocketMessage class tweak to fix unsafe patterns
55
56 ## [11.2.7] - 2021-05-27
57
58 (websocket server) Handle and accept firefox browser special upgrade value (keep-alive, Upgrade)
59
60 ## [11.2.6] - 2021-05-18
61
62 (Windows) move EINVAL (re)definition from IXSocket.h to IXNetSystem.h (fix #289)
63
64 ## [11.2.5] - 2021-04-04
65
66 (http client) DEL is not an HTTP method name, but DELETE is
67
68 ## [11.2.4] - 2021-03-25
69
70 (cmake) install IXUniquePtr.h
71
72 ## [11.2.3] - 2021-03-24
73
74 (ssl + windows) missing include for CertOpenStore function
75
76 ## [11.2.2] - 2021-03-23
77
78 (ixwebsocket) version bump
79
80 ## [11.2.1] - 2021-03-23
81
82 (ixwebsocket) version bump
83
84 ## [11.2.0] - 2021-03-23
85
86 (ixwebsocket) correct mingw support (gcc on windows)
87
88 ## [11.1.4] - 2021-03-23
89
90 (ixwebsocket) add getMinWaitBetweenReconnectionRetries
91
92 ## [11.1.3] - 2021-03-23
93
94 (ixwebsocket) New option to set the min wait between reconnection attempts. Still default to 1ms. (setMinWaitBetweenReconnectionRetries).
95
96 ## [11.1.2] - 2021-03-22
97
98 (ws) initialize maxWaitBetweenReconnectionRetries to a non zero value ; a zero value was causing spurious reconnections attempts
99
100 ## [11.1.1] - 2021-03-20
101
102 (cmake) Library can be built as a static or a dynamic library, controlled with BUILD_SHARED_LIBS. Default to static library
103
104 ## [11.1.0] - 2021-03-16
105
106 (ixwebsocket) Use LEAN_AND_MEAN Windows define to help with undefined link error when building a DLL. Support websocket server disablePerMessageDeflate option correctly.
107
108 ## [11.0.9] - 2021-03-07
109
110 (ixwebsocket) Expose setHandshakeTimeout method
111
112 ## [11.0.8] - 2020-12-25
113
114 (ws) trim ws dependencies no more ixcrypto and ixcore deps
115
116 ## [11.0.7] - 2020-12-25
117
118 (ws) trim ws dependencies, only depends on ixcrypto and ixcore
119
120 ## [11.0.6] - 2020-12-22
121
122 (build) rename makefile to makefile.dev to ease cmake BuildExternal (fix #261)
123
124 ## [11.0.5] - 2020-12-17
125
126 (ws) Implement simple header based websocket authorization technique to reject
127 client which do not supply a certain header ("Authorization") with a special
128 value (see doc).
129
130 ## [11.0.4] - 2020-11-16
131
132 (ixwebsocket) Handle EINTR return code in ix::poll and IXSelectInterrupt
133
134 ## [11.0.3] - 2020-11-16
135
136 (ixwebsocket) Fix #252 / regression in 11.0.2 with string comparisons
137
138 ## [11.0.2] - 2020-11-15
139
140 (ixwebsocket) use a C++11 compatible make_unique shim
141
142 ## [11.0.1] - 2020-11-11
143
144 (socket) replace a std::vector with an std::array used as a tmp buffer in Socket::readBytes
145
146 ## [11.0.0] - 2020-11-11
147
148 (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
149
150 ## [10.5.7] - 2020-11-07
151
152 (docker) build docker container with zlib disabled
153
154 ## [10.5.6] - 2020-11-07
155
156 (cmake) DEFLATE -> Deflate in CMake to stop warnings about casing
157
158 ## [10.5.5] - 2020-11-07
159
160 (ws autoroute) Display result in compliant way (AUTOROUTE IXWebSocket :: N ms) so that result can be parsed easily
161
162 ## [10.5.4] - 2020-10-30
163
164 (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.
165
166 ## [10.5.3] - 2020-10-19
167
168 (http code) With zlib disabled, some code should not be reached
169
170 ## [10.5.2] - 2020-10-12
171
172 (ws curl) Add support for --data-binary option, to set the request body. When present the request will be sent with the POST verb
173
174 ## [10.5.1] - 2020-10-09
175
176 (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.
177
178 ## [10.5.0] - 2020-09-30
179
180 (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
181
182 ## [10.4.9] - 2020-09-30
183
184 (http server + utility code) Add support for doing gzip compression with libdeflate library, if available
185
186 ## [10.4.8] - 2020-09-30
187
188 (cmake) Stop using FetchContent cmake module to retrieve jsoncpp third party dependency
189
190 ## [10.4.7] - 2020-09-28
191
192 (ws) add gzip and gunzip ws sub commands
193
194 ## [10.4.6] - 2020-09-26
195
196 (cmake) use FetchContent cmake module to retrieve jsoncpp third party dependency
197
198 ## [10.4.5] - 2020-09-26
199
200 (cmake) use FetchContent cmake module to retrieve spdlog third party dependency
201
202 ## [10.4.4] - 2020-09-22
203
204 (cobra connection) retrieve cobra server connection id from the cobra handshake message and display it in ws clients, metrics publisher and bots
205
206 ## [10.4.3] - 2020-09-22
207
208 (cobra 2 cobra) specify as an HTTP header which channel we will republish to
209
210 ## [10.4.2] - 2020-09-18
211
212 (cobra bots) change an error log to a warning log when reconnecting because no messages were received for a minute
213
214 ## [10.4.1] - 2020-09-18
215
216 (cobra connection and bots) set an HTTP header when connecting to help with debugging bots
217
218 ## [10.4.0] - 2020-09-12
219
220 (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
221
222 ## [10.3.5] - 2020-09-09
223
224 (ws) autoroute command exit on its own once all messages have been received
225
226 ## [10.3.4] - 2020-09-04
227
228 (docker) ws docker file installs strace
229
230 ## [10.3.3] - 2020-09-02
231
232 (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.
233
234 ## [10.3.2] - 2020-08-31
235
236 (ws + cobra bots) add a cobra_to_cobra ws subcommand to subscribe to a channel and republish received events to a different channel
237
238 ## [10.3.1] - 2020-08-28
239
240 (socket servers) merge the ConnectionInfo class with the ConnectionState one, which simplify all the server apis
241
242 ## [10.3.0] - 2020-08-26
243
244 (ws) set the main thread name, to help with debugging in XCode, gdb, lldb etc...
245
246 ## [10.2.9] - 2020-08-19
247
248 (ws) cobra to python bot / take a module python name as argument foo.bar.baz instead of a path foo/bar/baz.py
249
250 ## [10.2.8] - 2020-08-19
251
252 (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)
253
254 ## [10.2.7] - 2020-08-18
255
256 (ws push_server) on the server side, stop sending and close the connection when the remote end has disconnected
257
258 ## [10.2.6] - 2020-08-17
259
260 (ixwebsocket) replace std::unique_ptr<unsigned char[]> with std::array for some fixed arrays (which are in C++11)
261
262 ## [10.2.5] - 2020-08-15
263
264 (ws) merge all ws_*.cpp files into a single one to speedup compilation
265
266 ## [10.2.4] - 2020-08-15
267
268 (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
269
270 ## [10.2.3] - 2020-08-15
271
272 (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
273
274 ## [10.2.2] - 2020-08-15
275
276 (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.
277
278 ## [10.2.1] - 2020-08-15
279
280 (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
281
282 ## [10.2.0] - 2020-08-14
283
284 (ixwebsocket client) handle HTTP redirects
285
286 ## [10.2.0] - 2020-08-13
287
288 (ws) upgrade to latest version of nlohmann json (3.9.1 from 3.2.0)
289
290 ## [10.1.9] - 2020-08-13
291
292 (websocket proxy server) add ability to map different hosts to different websocket servers, using a json config file
293
294 ## [10.1.8] - 2020-08-12
295
296 (ws) on macOS, with OpenSSL or MbedTLS, use /etc/ssl/cert.pem as the system certs
297
298 ## [10.1.7] - 2020-08-11
299
300 (ws) -q option imply info log level, not warning log level
301
302 ## [10.1.6] - 2020-08-06
303
304 (websocket server) Handle programmer error when the server callback is not registered properly (fix #227)
305
306 ## [10.1.5] - 2020-08-02
307
308 (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).
309
310 ## [10.1.4] - 2020-08-02
311
312 (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)
313
314 ## [10.1.3] - 2020-08-02
315
316 (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)
317
318 ## [10.1.2] - 2020-07-31
319
320 (build) make using zlib optional, with the caveat that some http and websocket features are not available when zlib is absent
321
322 ## [10.1.1] - 2020-07-29
323
324 (websocket client) onProgressCallback not called for short messages on a websocket (fix #233)
325
326 ## [10.1.0] - 2020-07-29
327
328 (websocket client) heartbeat is not sent at the requested frequency (fix #232)
329
330 ## [10.0.3] - 2020-07-28
331
332 compiler warning fixes
333
334 ## [10.0.2] - 2020-07-28
335
336 (ixcobra) CobraConnection: unsubscribe from all subscriptions when disconnecting
337
338 ## [10.0.1] - 2020-07-27
339
340 (socket utility) move ix::getFreePort to ixwebsocket library
341
342 ## [10.0.0] - 2020-07-25
343
344 (ixwebsocket server) change legacy api with 2 nested callbacks, so that the first api takes a weak_ptr<WebSocket> as its first argument
345
346 ## [9.10.7] - 2020-07-25
347
348 (ixwebsocket) add WebSocketProxyServer, from ws. Still need to make the interface better.
349
350 ## [9.10.6] - 2020-07-24
351
352 (ws) port broadcast_server sub-command to the new server API
353
354 ## [9.10.5] - 2020-07-24
355
356 (unittest) port most unittests to the new server API
357
358 ## [9.10.3] - 2020-07-24
359
360 (ws) port ws transfer to the new server API
361
362 ## [9.10.2] - 2020-07-24
363
364 (websocket client) reset WebSocketTransport onClose callback in the WebSocket destructor
365
366 ## [9.10.1] - 2020-07-24
367
368 (websocket server) reset client websocket callback when the connection is closed
369
370 ## [9.10.0] - 2020-07-23
371
372 (websocket server) add a new simpler API to handle client connections / that API does not trigger a memory leak while the previous one did
373
374 ## [9.9.3] - 2020-07-17
375
376 (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)
377
378 ## [9.9.2] - 2020-07-10
379
380 (socket server) bump default max connection count from 32 to 128
381
382 ## [9.9.1] - 2020-07-10
383
384 (snake) implement super simple stream sql expression support in snake server
385
386 ## [9.9.0] - 2020-07-08
387
388 (socket+websocket+http+redis+snake servers) expose the remote ip and remote port when a new connection is made
389
390 ## [9.8.6] - 2020-07-06
391
392 (cmake) change the way zlib and openssl are searched
393
394 ## [9.8.5] - 2020-07-06
395
396 (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
397
398 ## [9.8.4] - 2020-06-26
399
400 (cobra bots) remove bots which is not required now that we can use Python extensions
401
402 ## [9.8.3] - 2020-06-25
403
404 (cmake) new python code is optional and enabled at cmake time with -DUSE_PYTHON=1
405
406 ## [9.8.2] - 2020-06-24
407
408 (cobra bots) new cobra metrics bot to send data to statsd using Python for processing the message
409
410 ## [9.8.1] - 2020-06-19
411
412 (cobra metrics to statsd bot) fps slow frame info : do not include os name
413
414 ## [9.8.0] - 2020-06-19
415
416 (cobra metrics to statsd bot) send info about memory warnings
417
418 ## [9.7.9] - 2020-06-18
419
420 (http client) fix deadlock when following redirects
421
422 ## [9.7.8] - 2020-06-18
423
424 (cobra metrics to statsd bot) send info about net requests
425
426 ## [9.7.7] - 2020-06-17
427
428 (cobra client and bots) add batch_size subscription option for retrieving multiple messages at once
429
430 ## [9.7.6] - 2020-06-15
431
432 (websocket) WebSocketServer is not a final class, so that users can extend it (fix #215)
433
434 ## [9.7.5] - 2020-06-15
435
436 (cobra bots) minor aesthetic change, in how we display http headers with a : then space as key value separator instead of :: with no space
437
438 ## [9.7.4] - 2020-06-11
439
440 (cobra metrics to statsd bot) change from a statsd type of gauge to a timing one
441
442 ## [9.7.3] - 2020-06-11
443
444 (redis cobra bots) capture most used devices in a zset
445
446 ## [9.7.2] - 2020-06-11
447
448 (ws) add bare bone redis-cli like sub-command, with command line editing powered by libnoise
449
450 ## [9.7.1] - 2020-06-11
451
452 (redis cobra bots) ws cobra metrics to redis / hostname invalid parsing
453
454 ## [9.7.0] - 2020-06-11
455
456 (redis cobra bots) xadd with maxlen + fix bug in xadd client implementation and ws cobra metrics to redis command argument parsing
457
458 ## [9.6.9] - 2020-06-10
459
460 (redis cobra bots) update the cobra to redis bot to use the bot framework, and change it to report fps metrics into redis streams.
461
462 ## [9.6.6] - 2020-06-04
463
464 (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
465
466 ## [9.6.5] - 2020-05-29
467
468 (http server) support gzip compression
469
470 ## [9.6.4] - 2020-05-20
471
472 (compiler fix) support clang 5 and earlier (contributed by @LunarWatcher)
473
474 ## [9.6.3] - 2020-05-18
475
476 (cmake) revert CMake changes to fix #203 and be able to use an external OpenSSL
477
478 ## [9.6.2] - 2020-05-17
479
480 (cmake) make install cmake files optional to not conflict with vcpkg
481
482 ## [9.6.1] - 2020-05-17
483
484 (windows + tls) mbedtls is the default windows tls backend + add ability to load system certificates with mbdetls on windows
485
486 ## [9.6.0] - 2020-05-12
487
488 (ixbots) add options to limit how many messages per minute should be processed
489
490 ## [9.5.9] - 2020-05-12
491
492 (ixbots) add new class to configure a bot to simplify passing options around
493
494 ## [9.5.8] - 2020-05-08
495
496 (openssl tls) (openssl < 1.1) logic inversion - crypto locking callback are not registered properly
497
498 ## [9.5.7] - 2020-05-08
499
500 (cmake) default TLS back to mbedtls on Windows Universal Platform
501
502 ## [9.5.6] - 2020-05-06
503
504 (cobra bots) add a --heartbeat_timeout option to specify when the bot should terminate because no events are received
505
506 ## [9.5.5] - 2020-05-06
507
508 (openssl tls) when OpenSSL is older than 1.1, register the crypto locking callback to be thread safe. Should fix lots of CI failures
509
510 ## [9.5.4] - 2020-05-04
511
512 (cobra bots) do not use a queue to store messages pending processing, let the bot handle queuing
513
514 ## [9.5.3] - 2020-04-29
515
516 (http client) better current request cancellation support when the HttpClient destructor is invoked (see #189)
517
518 ## [9.5.2] - 2020-04-27
519
520 (cmake) fix cmake broken tls option parsing
521
522 ## [9.5.1] - 2020-04-27
523
524 (http client) Set default values for most HttpRequestArgs struct members (fix #185)
525
526 ## [9.5.0] - 2020-04-25
527
528 (ssl) Default to OpenSSL on Windows, since it can load the system certificates by default
529
530 ## [9.4.1] - 2020-04-25
531
532 (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
533
534 ## [9.4.0] - 2020-04-24
535
536 (ssl) Add support for supplying SSL CA from memory, for OpenSSL and MbedTLS backends
537
538 ## [9.3.3] - 2020-04-17
539
540 (ixbots) display sent/receive message, per seconds as accumulated
541
542 ## [9.3.2] - 2020-04-17
543
544 (ws) add a --logfile option to configure all logs to go to a file
545
546 ## [9.3.1] - 2020-04-16
547
548 (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
549
550 ## [9.3.0] - 2020-04-15
551
552 (websocket) add a positive number to the heartbeat message sent, incremented each time the heartbeat is sent
553
554 ## [9.2.9] - 2020-04-15
555
556 (ixcobra) change cobra event callback to use a struct instead of several objects, which is more flexible/extensible
557
558 ## [9.2.8] - 2020-04-15
559
560 (ixcobra) make CobraConnection_EventType an enum class (CobraEventType)
561
562 ## [9.2.7] - 2020-04-14
563
564 (ixsentry) add a library method to upload a payload directly to sentry
565
566 ## [9.2.6] - 2020-04-14
567
568 (ixcobra) snake server / handle invalid incoming json messages + cobra subscriber in fluentd mode insert a created_at timestamp entry
569
570 ## [9.2.5] - 2020-04-13
571
572 (websocket) WebSocketMessagePtr is a unique_ptr instead of a shared_ptr
573
574 ## [9.2.4] - 2020-04-13
575
576 (websocket) use persistent member variable as temp variables to encode/decode zlib messages in order to reduce transient allocations
577
578 ## [9.2.3] - 2020-04-13
579
580 (ws) add a --runtime option to ws cobra_subscribe to optionally limit how much time it will run
581
582 ## [9.2.2] - 2020-04-04
583
584 (third_party deps) fix #177, update bundled spdlog to 1.6.0
585
586 ## [9.2.1] - 2020-04-04
587
588 (windows) when using OpenSSL, the system store is used to populate the cacert. No need to ship a cacert.pem file with your app.
589
590 ## [9.2.0] - 2020-04-04
591
592 (windows) ci: windows build with TLS (mbedtls) + verify that we can be build with OpenSSL
593
594 ## [9.1.9] - 2020-03-30
595
596 (cobra to statsd bot) add ability to extract a numerical value and send a timer event to statsd, with the --timer option
597
598 ## [9.1.8] - 2020-03-29
599
600 (cobra to statsd bot) bot init was missing + capture socket error
601
602 ## [9.1.7] - 2020-03-29
603
604 (cobra to statsd bot) add ability to extract a numerical value and send a gauge event to statsd, with the --gauge option
605
606 ## [9.1.6] - 2020-03-29
607
608 (ws cobra subscriber) use a Json::StreamWriter to write to std::cout, and save one std::string allocation for each message printed
609
610 ## [9.1.5] - 2020-03-29
611
612 (docker) trim down docker image (300M -> 12M) / binary built without symbol and size optimization, and source code not copied over
613
614 ## [9.1.4] - 2020-03-28
615
616 (jsoncpp) update bundled copy to version 1.9.3 (at sha 3beb37ea14aec1bdce1a6d542dc464d00f4a6cec)
617
618 ## [9.1.3] - 2020-03-27
619
620 (docker) alpine docker build with release with debug info, and bundle ca-certificates
621
622 ## [9.1.2] - 2020-03-26
623
624 (mac ssl) rename DarwinSSL -> SecureTransport (see this too -> https://github.com/curl/curl/issues/3733)
625
626 ## [9.1.1] - 2020-03-26
627
628 (websocket) fix data race accessing _socket object without mutex protection when calling wakeUpFromPoll in WebSocketTransport.cpp
629
630 ## [9.1.0] - 2020-03-26
631
632 (ixcobra) add explicit event types for handshake, authentication and subscription failure, and handle those by exiting in ws_cobra_subcribe and friends
633
634 ## [9.0.3] - 2020-03-24
635
636 (ws connect) display statistics about how much time it takes to stop the connection
637
638 ## [9.0.2] - 2020-03-24
639
640 (socket) works with unique_ptr<Socket> instead of shared_ptr<Socket> in many places
641
642 ## [9.0.1] - 2020-03-24
643
644 (socket) selectInterrupt member is an unique_ptr instead of being a shared_ptr
645
646 ## [9.0.0] - 2020-03-23
647
648 (websocket) reset per-message deflate codec everytime we connect to a server/client
649
650 ## [8.3.4] - 2020-03-23
651
652 (websocket) fix #167, a long standing issue with sending empty messages with per-message deflate extension (and hopefully other zlib bug)
653
654 ## [8.3.3] - 2020-03-22
655
656 (cobra to statsd) port to windows and add a unittest
657
658 ## [8.3.2] - 2020-03-20
659
660 (websocket+tls) fix hang in tls handshake which could lead to ANR, discovered through unittesting.
661
662 ## [8.3.1] - 2020-03-20
663
664 (cobra) CobraMetricsPublisher can be configure with an ix::CobraConfig + more unittest use SSL in server + client
665
666 ## [8.3.0] - 2020-03-18
667
668 (websocket) Simplify ping/pong based heartbeat implementation
669
670 ## [8.2.7] - 2020-03-17
671
672 (ws) ws connect gains a new option to set the interval at which to send pings
673 (ws) ws echo_server gains a new option (-p) to disable responding to pings with pongs
674
675 ```
676 IXWebSocket$ ws connect --ping_interval 2 wss://echo.websocket.org
677 Type Ctrl-D to exit prompt...
678 Connecting to url: wss://echo.websocket.org
679 > ws_connect: connected
680 [2020-03-17 23:53:02.726] [info] Uri: /
681 [2020-03-17 23:53:02.726] [info] Headers:
682 [2020-03-17 23:53:02.727] [info] Connection: Upgrade
683 [2020-03-17 23:53:02.727] [info] Date: Wed, 18 Mar 2020 06:45:05 GMT
684 [2020-03-17 23:53:02.727] [info] Sec-WebSocket-Accept: 0gtqbxW0aVL/QI/ICpLFnRaiKgA=
685 [2020-03-17 23:53:02.727] [info] sec-websocket-extensions:
686 [2020-03-17 23:53:02.727] [info] Server: Kaazing Gateway
687 [2020-03-17 23:53:02.727] [info] Upgrade: websocket
688 [2020-03-17 23:53:04.894] [info] Received pong
689 [2020-03-17 23:53:06.859] [info] Received pong
690 [2020-03-17 23:53:08.881] [info] Received pong
691 [2020-03-17 23:53:10.848] [info] Received pong
692 [2020-03-17 23:53:12.898] [info] Received pong
693 [2020-03-17 23:53:14.865] [info] Received pong
694 [2020-03-17 23:53:16.890] [info] Received pong
695 [2020-03-17 23:53:18.853] [info] Received pong
696
697 [2020-03-17 23:53:19.388] [info]
698 ws_connect: connection closed: code 1000 reason Normal closure
699
700 [2020-03-17 23:53:19.502] [info] Received 208 bytes
701 [2020-03-17 23:53:19.502] [info] Sent 0 bytes
702 ```
703
704 ## [8.2.6] - 2020-03-16
705
706 (cobra to sentry bot + docker) default docker file uses mbedtls + ws cobra_to_sentry pass tls options to sentryClient.
707
708 ## [8.2.5] - 2020-03-13
709
710 (cobra client) ws cobra subscribe resubscribe at latest position after being disconnected
711
712 ## [8.2.4] - 2020-03-13
713
714 (cobra client) can subscribe with a position
715
716 ## [8.2.3] - 2020-03-13
717
718 (cobra client) pass the message position to the subscription data callback
719
720 ## [8.2.2] - 2020-03-12
721
722 (openssl tls backend) Fix a hand in OpenSSL when using TLS v1.3 ... by disabling TLS v1.3
723
724 ## [8.2.1] - 2020-03-11
725
726 (cobra) IXCobraConfig struct has tlsOptions and per message deflate options
727
728 ## [8.2.0] - 2020-03-11
729
730 (cobra) add IXCobraConfig struct to pass cobra config around
731
732 ## [8.1.9] - 2020-03-09
733
734 (ws cobra_subscribe) add a --fluentd option to wrap a message in an enveloppe so that fluentd can recognize it
735
736 ## [8.1.8] - 2020-03-02
737
738 (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.
739
740 ## [8.1.7] - 2020-02-26
741
742 (websocket) traffic tracker received bytes is message size while it should be wire size
743
744 ## [8.1.6] - 2020-02-26
745
746 (ws_connect) display sent/received bytes statistics on exit
747
748 ## [8.1.5] - 2020-02-23
749
750 (server) give thread name to some usual worker threads / unittest is broken !!
751
752 ## [8.1.4] - 2020-02-22
753
754 (websocket server) fix regression from 8.1.2, where per-deflate message compression was always disabled
755
756 ## [8.1.3] - 2020-02-21
757
758 (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 ,
759
760 ## [8.1.2] - 2020-02-18
761
762 (WebSocketServer) add option to disable deflate compression, exposed with the -x option to ws echo_server
763
764 ## [8.1.1] - 2020-02-18
765
766 (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
767
768 ## [8.1.0] - 2020-02-13
769
770 (http client + sentry minidump upload) Multipart stream closing boundary is invalid + mark some options as mandatory in the command line tools
771
772 ## [8.0.7] - 2020-02-12
773
774 (build) remove the unused subtree which was causing some way of installing to break
775
776 ## [8.0.6] - 2020-01-31
777
778 (snake) add an option to disable answering pongs as response to pings, to test cobra client behavior with hanged connections
779
780 ## [8.0.5] - 2020-01-31
781
782 (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
783
784 ## [8.0.4] - 2020-01-31
785
786 (cobra to sentry) remove noisy logging
787
788 ## [8.0.3] - 2020-01-30
789
790 (ixcobra) check if we are authenticated in publishNext before trying to publish a message
791
792 ## [8.0.2] - 2020-01-28
793
794 Extract severity level when emitting messages to sentry
795
796 ## [8.0.1] - 2020-01-28
797
798 Fix bug #151 - If a socket connection is interrupted, calling stop() on the IXWebSocket object blocks until the next retry
799
800 ## [8.0.0] - 2020-01-26
801
802 (SocketServer) add ability to bind on an ipv6 address
803
804 ## [7.9.6] - 2020-01-22
805
806 (ws) add a dnslookup sub-command, to get the ip address of a remote host
807
808 ## [7.9.5] - 2020-01-14
809
810 (windows) fix #144, get rid of stubbed/un-implemented windows schannel ssl backend
811
812 ## [7.9.4] - 2020-01-12
813
814 (openssl + mbedssl) fix #140, can send large files with ws send over ssl / still broken with apple ssl
815
816 ## [7.9.3] - 2020-01-10
817
818 (apple ssl) model write method after the OpenSSL one for consistency
819
820 ## [7.9.2] - 2020-01-06
821
822 (apple ssl) unify read and write ssl utility code
823
824 ## [7.9.1] - 2020-01-06
825
826 (websocket client) better error propagation when errors are detected while sending data
827 (ws send) detect failures to send big files, terminate in those cases and report error
828
829 ## [7.9.0] - 2020-01-04
830
831 (ws send) add option (-x) to disable per message deflate compression
832
833 ## [7.8.9] - 2020-01-04
834
835 (ws send + receive) handle all message types (ping + pong + fragment) / investigate #140
836
837 ## [7.8.8] - 2019-12-28
838
839 (mbedtls) fix related to private key file parsing and initialization
840
841 ## [7.8.6] - 2019-12-28
842
843 (ws cobra to sentry/statsd) fix for handling null events properly for empty queues + use queue to send data to statsd
844
845 ## [7.8.5] - 2019-12-28
846
847 (ws cobra to sentry) handle null events for empty queues
848
849 ## [7.8.4] - 2019-12-27
850
851 (ws cobra to sentry) game is picked in a fair manner, so that all games get the same share of sent events
852
853 ## [7.8.3] - 2019-12-27
854
855 (ws cobra to sentry) refactor queue related code into a class
856
857 ## [7.8.2] - 2019-12-25
858
859 (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
860
861 ## [7.8.1] - 2019-12-25
862
863 (ws client) use correct compilation defines so that spdlog is not used as a header only library (reduce binary size and increase compilation speed)
864
865 ## [7.8.0] - 2019-12-24
866
867 (ws client) all commands use spdlog instead of std::cerr or std::cout for logging
868
869 ## [7.6.5] - 2019-12-24
870
871 (cobra client) send a websocket ping every 30s to keep the connection opened
872
873 ## [7.6.4] - 2019-12-22
874
875 (client) error handling, quote url in error case when failing to parse one
876 (ws) ws_cobra_publish: register callbacks before connecting
877 (doc) mention mbedtls in supported ssl server backend
878
879 ## [7.6.3] - 2019-12-20
880
881 (tls) add a simple description of the TLS configuration routine for debugging
882
883 ## [7.6.2] - 2019-12-20
884
885 (mbedtls) correct support for using own certificate and private key
886
887 ## [7.6.1] - 2019-12-20
888
889 (ws commands) in websocket proxy, disable automatic reconnections + in Dockerfile, use alpine 3.11
890
891 ## [7.6.0] - 2019-12-19
892
893 (cobra) Add TLS options to all cobra commands and classes. Add example to the doc.
894
895 ## [7.5.8] - 2019-12-18
896
897 (cobra-to-sentry) capture application version from device field
898
899 ## [7.5.7] - 2019-12-18
900
901 (tls) Experimental TLS server support with mbedtls (windows) + process cert tlsoption (client + server)
902
903 ## [7.5.6] - 2019-12-18
904
905 (tls servers) Make it clear that apple ssl and mbedtls backends do not support SSL in server mode
906
907 ## [7.5.5] - 2019-12-17
908
909 (tls options client) TLSOptions struct _validated member should be initialized to false
910
911 ## [7.5.4] - 2019-12-16
912
913 (websocket client) improve the error message when connecting to a non websocket server
914
915 Before:
916
917 ```
918 Connection error: Got bad status connecting to example.com:443, status: 200, HTTP Status line: HTTP/1.1 200 OK
919 ```
920
921 After:
922
923 ```
924 Connection error: Expecting status 101 (Switching Protocol), got 200 status connecting to example.com:443, HTTP Status line: HTTP/1.1 200 OK
925 ```
926
927 ## [7.5.3] - 2019-12-12
928
929 (server) attempt at fixing #131 by using blocking writes in server mode
930
931 ## [7.5.2] - 2019-12-11
932
933 (ws) cobra to sentry - created events with sentry tags based on tags present in the cobra messages
934
935 ## [7.5.1] - 2019-12-06
936
937 (mac) convert SSL errors to utf8
938
939 ## [7.5.0] - 2019-12-05
940
941 - (ws) cobra to sentry. Handle Error 429 Too Many Requests and politely wait before sending more data to sentry.
942
943 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.
944
945 ```
946 [2019-12-05 15:50:33.759] [info] messages received 2449 sent 3
947 [2019-12-05 15:50:34.759] [info] messages received 5533 sent 7
948 [2019-12-05 15:50:35.759] [info] messages received 8612 sent 11
949 [2019-12-05 15:50:36.759] [info] messages received 11562 sent 15
950 [2019-12-05 15:50:37.759] [info] messages received 14410 sent 19
951 [2019-12-05 15:50:38.759] [info] messages received 17236 sent 23
952 [2019-12-05 15:50:39.282] [error] Error sending data to sentry: 429
953 [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"}
954
955 [2019-12-05 15:50:39.282] [error] Response: {"error_name":"rate_limit","error":"Creation of this event was denied due to rate limiting"}
956 [2019-12-05 15:50:39.282] [warning] Error 429 - Too Many Requests. ws will sleep and retry after 41 seconds
957 [2019-12-05 15:50:39.760] [info] messages received 18839 sent 25
958 [2019-12-05 15:50:40.760] [info] messages received 18839 sent 25
959 [2019-12-05 15:50:41.760] [info] messages received 18839 sent 25
960 [2019-12-05 15:50:42.761] [info] messages received 18839 sent 25
961 [2019-12-05 15:50:43.762] [info] messages received 18839 sent 25
962 [2019-12-05 15:50:44.763] [info] messages received 18839 sent 25
963 [2019-12-05 15:50:45.768] [info] messages received 18839 sent 25
964 ```
965
966 ## [7.4.5] - 2019-12-03
967
968 - (ws) #125 / fix build problem when jsoncpp is not installed locally
969
970 ## [7.4.4] - 2019-12-03
971
972 - (ws) #125 / cmake detects an already installed jsoncpp and will try to use this one if present
973
974 ## [7.4.3] - 2019-12-03
975
976 - (http client) use std::unordered_map instead of std::map for HttpParameters and HttpFormDataParameters class aliases
977
978 ## [7.4.2] - 2019-12-02
979
980 - (client) internal IXDNSLookup class requires a valid cancellation request function callback to be passed in
981
982 ## [7.4.1] - 2019-12-02
983
984 - (client) fix an overflow in the exponential back off code
985
986 ## [7.4.0] - 2019-11-25
987
988 - (http client) Add support for multipart HTTP POST upload
989 - (ixsentry) Add support for uploading a minidump to sentry
990
991 ## [7.3.5] - 2019-11-20
992
993 - On Darwin SSL, add ability to skip peer verification.
994
995 ## [7.3.4] - 2019-11-20
996
997 - 32-bits compile fix, courtesy of @fcojavmc
998
999 ## [7.3.1] - 2019-11-16
1000
1001 - ws proxy_server / remote server close not forwarded to the client
1002
1003 ## [7.3.0] - 2019-11-15
1004
1005 - New ws command: `ws proxy_server`.
1006
1007 ## [7.2.2] - 2019-11-01
1008
1009 - Tag a release + minor reformating.
1010
1011 ## [7.2.1] - 2019-10-26
1012
1013 - Add unittest to IXSentryClient to lua backtrace parsing code
1014
1015 ## [7.2.0] - 2019-10-24
1016
1017 - Add cobra_metrics_to_redis sub-command to create streams for each cobra metric event being received.
1018
1019 ## [7.1.0] - 2019-10-13
1020
1021 - Add client support for websocket subprotocol. Look for the new addSubProtocol method for details.
1022
1023 ## [7.0.0] - 2019-10-01
1024
1025 - TLS support in server code, only implemented for the OpenSSL SSL backend for now.
1026
1027 ## [6.3.4] - 2019-09-30
1028
1029 - all ws subcommands propagate tls options to servers (unimplemented) or ws or http client (implemented) (contributed by Matt DeBoer)
1030
1031 ## [6.3.3] - 2019-09-30
1032
1033 - ws has a --version option
1034
1035 ## [6.3.2] - 2019-09-29
1036
1037 - (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.
1038
1039 ## [6.3.1] - 2019-09-29
1040
1041 - Add ability to use OpenSSL on apple platforms.
1042
1043 ## [6.3.0] - 2019-09-28
1044
1045 - ixcobra / fix crash in CobraConnection::publishNext when the queue is empty + handle CobraConnection_PublishMode_Batch in CobraMetricsThreadedPublisher
1046
1047 ## [6.2.9] - 2019-09-27
1048
1049 - mbedtls fixes / the unittest now pass on macOS, and hopefully will on Windows/AppVeyor as well.
1050
1051 ## [6.2.8] - 2019-09-26
1052
1053 - 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.
1054
1055 ```
1056 ws httpd -L --redirect_url https://www.google.com
1057 ```
1058
1059 ## [6.2.7] - 2019-09-25
1060
1061 - Stop having ws send subcommand send a binary message in text mode, which would cause error in `make ws_test` shell script test.
1062
1063 ## [6.2.6] - 2019-09-24
1064
1065 - Fix 2 race conditions detected with TSan, one in CobraMetricsPublisher::push and another one in WebSocketTransport::sendData (that one was bad).
1066
1067 ## [6.2.5] - 2019-09-23
1068
1069 - 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.
1070
1071 ## [6.2.4] - 2019-09-22
1072
1073 - Add options to configure TLS ; contributed by Matt DeBoer. Only implemented for OpenSSL TLS backend for now.
1074
1075 ## [6.2.3] - 2019-09-21
1076
1077 - Fix crash in the Linux unittest in the HTTP client code, in Socket::readBytes
1078 - 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.
1079
1080 ## [6.2.2] - 2019-09-19
1081
1082 - In DNS lookup code, make sure the weak pointer we use lives through the expected scope (if branch)
1083
1084 ## [6.2.1] - 2019-09-17
1085
1086 - On error while doing a client handshake, additionally display port number next to the host name
1087
1088 ## [6.2.0] - 2019-09-09
1089
1090 - websocket and http server: server does not close the bound client socket in many cases
1091 - improve some websocket error messages
1092 - add a utility function with unittest to parse status line and stop using scanf which triggers warnings on Windows
1093 - update ws CLI11 (our command line argument parsing library) to the latest, which fix a compiler bug about optional
1094
1095 ## [6.1.0] - 2019-09-08
1096
1097 - move poll wrapper on top of select (only used on Windows) to the ix namespace
1098
1099 ## [6.0.1] - 2019-09-05
1100
1101 - add cobra metrics publisher + server unittest
1102 - add cobra client + server unittest
1103 - ws snake (cobra simple server) add basic support for unsubscription + subscribe send the proper subscription data + redis client subscription can be cancelled
1104 - IXCobraConnection / pdu handlers can crash if they receive json data which is not an object
1105
1106 ## [6.0.0] - 2019-09-04
1107
1108 - all client autobahn test should pass !
1109 - 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)
1110
1111 ## [5.2.0] - 2019-09-04
1112
1113 - 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)
1114 - 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)
1115
1116 ## [5.1.9] - 2019-09-03
1117
1118 - ws autobahn / report progress with spdlog::info to get timing info
1119 - ws autobahn / use condition variables for stopping test case + add more logging on errors
1120
1121 ## [5.1.8] - 2019-09-03
1122
1123 - Per message deflate/compression: handle fragmented messages (fix autobahn test: 12.1.X and probably others)
1124
1125 ## [5.1.7] - 2019-09-03
1126
1127 - Receiving invalid UTF-8 TEXT message should fail and close the connection (fix remaining autobahn test: 6.X UTF-8 Handling)
1128
1129 ## [5.1.6] - 2019-09-03
1130
1131 - Sending invalid UTF-8 TEXT message should fail and close the connection (fix remaining autobahn test: 6.X UTF-8 Handling)
1132 - Fix failing unittest which was sending binary data in text mode with WebSocket::send to call properly call WebSocket::sendBinary instead.
1133 - Validate that the reason is proper utf-8. (fix autobahn test 7.5.1)
1134 - Validate close codes. Autobahn 7.9.*
1135
1136 ## [5.1.5] - 2019-09-03
1137
1138 Framentation: data and continuation blocks received out of order (fix autobahn test: 5.9 through 5.20 Fragmentation)
1139
1140 ## [5.1.4] - 2019-09-03
1141
1142 Sending invalid UTF-8 TEXT message should fail and close the connection (fix **tons** of autobahn test: 6.X UTF-8 Handling)
1143
1144 ## [5.1.3] - 2019-09-03
1145
1146 Message type (TEXT or BINARY) is invalid for received fragmented messages (fix autobahn test: 5.3 through 5.8 Fragmentation)
1147
1148 ## [5.1.2] - 2019-09-02
1149
1150 Ping and Pong messages cannot be fragmented (fix autobahn test: 5.1 and 5.2 Fragmentation)
1151
1152 ## [5.1.1] - 2019-09-01
1153
1154 Close connections when reserved bits are used (fix autobahn test: 3.X Reserved Bits)
1155
1156 ## [5.1.0] - 2019-08-31
1157
1158 - ws autobahn / Add code to test websocket client compliance with the autobahn test-suite
1159 - add utf-8 validation code, not hooked up properly yet
1160 - Ping received with a payload too large (> 125 bytes) trigger a connection closure
1161 - cobra / add tracking about published messages
1162 - cobra / publish returns a message id, that can be used when
1163 - cobra / new message type in the message received handler when publish/ok is received (can be used to implement an ack system).
1164
1165 ## [5.0.9] - 2019-08-30
1166
1167 - User-Agent header is set when not specified.
1168 - New option to cap the max wait between reconnection attempts. Still default to 10s. (setMaxWaitBetweenReconnectionRetries).
1169
1170 ```
1171 ws connect --max_wait 5000 ws://example.com # will only wait 5 seconds max between reconnection attempts
1172 ```
1173
1174 ## [5.0.7] - 2019-08-23
1175 - WebSocket: add new option to pass in extra HTTP headers when connecting.
1176 - `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
1177
1178 If you run against `ws echo_server` you will see the headers being received printed in the terminal.
1179 ```
1180 ws connect -H "foo: bar" -H "baz: buz" ws://127.0.0.1:8008
1181 ```
1182
1183 - CobraConnection: sets a unique id field for all messages sent to [cobra](https://github.com/machinezone/cobra).
1184 - CobraConnection: sets a counter as a field for each event published.
1185
1186 ## [5.0.6] - 2019-08-22
1187 - Windows: silly compile error (poll should be in the global namespace)
1188
1189 ## [5.0.5] - 2019-08-22
1190 - Windows: use select instead of WSAPoll, through a poll wrapper
1191
1192 ## [5.0.4] - 2019-08-20
1193 - Windows build fixes (there was a problem with the use of ::poll that has a different name on Windows (WSAPoll))
1194
1195 ## [5.0.3] - 2019-08-14
1196 - CobraMetricThreadedPublisher _enable flag is an atomic, and CobraMetricsPublisher is enabled by default
1197
1198 ## [5.0.2] - 2019-08-01
1199 - ws cobra_subscribe has a new -q (quiet) option
1200 - ws cobra_subscribe knows to and display msg stats (count and # of messages received per second)
1201 - ws cobra_subscribe, cobra_to_statsd and cobra_to_sentry commands have a new option, --filter to restrict the events they want to receive
1202
1203 ## [5.0.1] - 2019-07-25
1204 - ws connect command has a new option to send in binary mode (still default to text)
1205 - 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
1206
1207 ## [5.0.0] - 2019-06-23
1208 ### Changed
1209 - New HTTP server / still very early. ws gained a new command, httpd can run a simple webserver serving local files.
1210 - IXDNSLookup. Uses weak pointer + smart_ptr + shared_from_this instead of static sets + mutex to handle object going away before dns lookup has resolved
1211 - cobra_to_sentry / backtraces are reversed and line number is not extracted correctly
1212 - mbedtls and zlib are searched with find_package, and we use the vendored version if nothing is found
1213 - travis CI uses g++ on Linux
1214
1215 ## [4.0.0] - 2019-06-09
1216 ### Changed
1217 - WebSocket::send() sends message in TEXT mode by default
1218 - WebSocketMessage sets a new binary field, which tells whether the received incoming message is binary or text
1219 - WebSocket::send takes a third arg, binary which default to true (can be text too)
1220 - WebSocket callback only take one object, a const ix::WebSocketMessagePtr& msg
1221 - Add explicit WebSocket::sendBinary method
1222 - New headers + WebSocketMessage class to hold message data, still not used across the board
1223 - Add test/compatibility folder with small servers and clients written in different languages and different libraries to test compatibility.
1224 - ws echo_server has a -g option to print a greeting message on connect
1225 - IXSocketMbedTLS: better error handling in close and connect
1226
1227 ## [3.1.2] - 2019-06-06
1228 ### Added
1229 - ws connect has a -x option to disable per message deflate
1230 - Add WebSocket::disablePerMessageDeflate() option.
1231
1232 ## [3.0.0] - 2019-06-xx
1233 ### Changed
1234 - TLS, aka SSL works on Windows (websocket and http clients)
1235 - ws command line tool build on Windows
1236 - Async API for HttpClient
1237 - HttpClient API changed to use shared_ptr for response and request