7c81a98632
Add a node.js benchmarking test program, to see how fast node can receive messages.
Benjamin Sergeant
2020-08-02 14:21:11 -07:00
182ee4cad6
Deployed 6e47c62 with MkDocs version: 1.1.2
2020-08-02 19:42:16 +00:00
6e47c62c06
(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).
Benjamin Sergeant
2020-08-02 12:41:34 -07:00
b74d82f111
Deployed bcae7f3 with MkDocs version: 1.1.2
2020-08-02 19:09:58 +00:00
bcae7f326d
(ws) Add a new ws sub-command, echo_client. This command send 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)
Benjamin Sergeant
2020-08-02 12:09:13 -07:00
d719c41e31
(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)
Benjamin Sergeant
2020-08-02 11:53:21 -07:00
7166d87f82
Deployed 6f0307f with MkDocs version: 1.1.2
2020-08-01 05:56:11 +00:00
6f0307fb35
(build) make using zlib optional, with the caveat that some http and websocket features are not available when zlib is absent
Benjamin Sergeant
2020-07-31 22:54:57 -07:00
80fb8cfb59
zlib.h included in ifdefs
Benjamin Sergeant
2020-07-31 22:19:33 -07:00
43c0ae0812
disable unix unittest for testing windows
Benjamin Sergeant
2020-07-31 22:14:05 -07:00
dcc447ec4a
user agent zlib fix
Benjamin Sergeant
2020-07-31 22:11:16 -07:00
5127094f0e
zlib is optional
Benjamin Sergeant
2020-07-31 22:07:20 -07:00
73abe5eaf5
Deployed 2e3d625 with MkDocs version: 1.1.2
2020-07-30 00:48:21 +00:00
2e3d625c1e
(websocket client) onProgressCallback not called for short messages on a websocket (fix#233)
Benjamin Sergeant
2020-07-29 17:47:33 -07:00
029289413c
ws test shell script / add option so tune how large sent file will be
Benjamin Sergeant
2020-07-29 17:46:37 -07:00
1be4271d14
Deployed 4d51098 with MkDocs version: 1.1.2
2020-07-29 18:25:23 +00:00
4d51098c86
(websocket client) heartbeat is not sent at the requested frequency (fix#232)
Benjamin Sergeant
2020-07-29 11:24:42 -07:00
4d3b9f633d
Deployed c2b05af with MkDocs version: 1.1.2
2020-07-29 05:01:10 +00:00
c2b05af022
can compile on macOS against jsoncpp installed from homebrew
Benjamin Sergeant
2020-07-28 22:00:29 -07:00
e85f975ab0
compiler warning fixes
Benjamin Sergeant
2020-07-28 21:46:26 -07:00
11be279005
Deployed dc77d62 with MkDocs version: 1.1.2
2020-07-28 17:33:17 +00:00
dc77d62a5d
(ixcobra) CobraConnection: unsubscribe from all subscriptions when disconnecting
Benjamin Sergeant
2020-07-28 10:32:18 -07:00
2ca6bb6835
Deployed 4f41f20 with MkDocs version: 1.1.2
2020-07-28 01:18:08 +00:00
4f41f209a2
(socket utility) move ix::getFreePort to ixwebsocket library
Benjamin Sergeant
2020-07-27 18:17:13 -07:00
5940e53d77
enable cobra tests which were disabled
Benjamin Sergeant
2020-07-27 17:39:53 -07:00
22dffd5b7e
WebSocket::close is re-entrant
Benjamin Sergeant
2020-07-27 17:38:33 -07:00
af2f31045d
snake server / join subscription background thread in the ConnectionState destructor + attach cobra message subscription id to the connection state instead of having it be a local reference that gets unbound
Benjamin Sergeant
2020-07-27 17:35:03 -07:00
5daa59f9f3
minor makefile tweaks
Benjamin Sergeant
2020-07-27 17:19:05 -07:00
2ea9d06a93
fix typo in unittest string description: ununexpected -> unsubscribed
Benjamin Sergeant
2020-07-27 17:16:53 -07:00
b47cb43419
Deployed 847fc14 with MkDocs version: 1.1.2
2020-07-25 18:43:04 +00:00
847fc142d1
(ixwebsocket server) change legacy api with 2 nested callbacks, so that the first api takes a weak_ptr<WebSocket> as its first argument
Benjamin Sergeant
2020-07-25 11:42:07 -07:00
9e0825127d
Deployed 0388459 with MkDocs version: 1.1.2
2020-07-25 18:26:57 +00:00
0388459bd0
(ixwebsocket) add WebSocketProxyServer, from ws. Still need to make the interface better.
Benjamin Sergeant
2020-07-25 11:26:06 -07:00
9a47ec1217
(ixsnake) uses an std::thread to handle redis subscriptions (2 unittest still failing)
Benjamin Sergeant
2020-07-24 18:12:07 -07:00
45a40c8640
new Dockerfile to run locally the test on an Ubuntu 20.04 system
Benjamin Sergeant
2020-07-24 14:46:09 -07:00
6d156430f5
Deployed e34f1c3 with MkDocs version: 1.1.2
2020-07-24 21:36:00 +00:00
e34f1c30d6
(ws) port broadcast_server sub-command to the new server API
Benjamin Sergeant
2020-07-24 14:35:07 -07:00
c14a4c0e3e
formatting
Benjamin Sergeant
2020-07-24 13:04:14 -07:00
7e6299a3b6
Deployed b146e93 with MkDocs version: 1.1.2
2020-07-24 19:50:22 +00:00
b146e93a3a
(unittest) port most unittests to the new server API
Benjamin Sergeant
2020-07-24 12:49:36 -07:00
166492ac9b
Deployed 9957ec9 with MkDocs version: 1.1.2
2020-07-24 19:34:14 +00:00
9957ec9724
(ws) port ws snake to the new server API
Benjamin Sergeant
2020-07-24 12:33:17 -07:00
78a42f61bd
add tool to ease making commits
Benjamin Sergeant
2020-07-24 11:53:09 -07:00
e78019dad6
(ws) port ws transfer to the new server API
Benjamin Sergeant
2020-07-24 11:52:16 -07:00
4200eeae57
Deployed 0f026c5 with MkDocs version: 1.1.2
2020-07-24 17:04:22 +00:00
0f026c5da2
(websocket client) reset WebSocketTransport onClose callback in the WebSocket destructor
Benjamin Sergeant
2020-07-24 10:03:29 -07:00
2e3672288d
Deployed c26a2d5 with MkDocs version: 1.1.2
2020-07-24 16:42:02 +00:00
c26a2d5d39
(websocket server) reset client websocket callback when the connection is closed
Benjamin Sergeant
2020-07-24 09:41:02 -07:00
8d743c5264
Deployed 2798886 with MkDocs version: 1.1.2
2020-07-24 02:30:29 +00:00
2798886c0b
(websocket server) add a new simpler API to handle client connections / that API does not trigger a memory leak while the previous one did
Benjamin Sergeant
2020-07-23 19:29:41 -07:00
1bff15e048
Deployed ffde283 with MkDocs version: 1.1.2
2020-07-17 18:59:10 +00:00
ffde283a4b
(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)
Benjamin Sergeant
2020-07-17 11:58:06 -07:00
c98959b895
comment out unittest which cannot be activated yet
Benjamin Sergeant
2020-07-09 10:34:52 -07:00
baf18648e9
Added test for websocket leak (#225)
marcelkauf
2020-07-09 19:19:44 +02:00
b21306376b
uwp build fix + more ivp6 support
v9.9.0
Benjamin Sergeant
2020-07-08 12:38:55 -07:00
3d4ecc4501
Deployed fbd1768 with MkDocs version: 1.1.2
2020-07-08 19:14:25 +00:00
fbd17685a1
(socket+websocket+http+redis+snake servers) expose the remote ip and remote port when a new connection is made (see #222) / only ipv4 is handled
Benjamin Sergeant
2020-07-08 12:10:35 -07:00
3a673575dd
clang format
Benjamin Sergeant
2020-07-08 10:39:46 -07:00
d5e51840ab
use const iterators
Benjamin Sergeant
2020-07-08 10:34:14 -07:00
543c2086b2
more templates in WebSocketTransport
Benjamin Sergeant
2020-07-07 11:07:01 -07:00
95eab59c08
WebSocketPerMessageDeflateCompressor can work with vector or std::string
Benjamin Sergeant
2020-07-07 18:17:44 -07:00
e9e768a288
better unittest for IXWebSocketPerMessageDeflateCompressor
Benjamin Sergeant
2020-07-07 21:15:34 -07:00
e2180a1f31
add unittest for IXWebSocketPerMessageDeflateCompressor
Benjamin Sergeant
2020-07-07 20:56:27 -07:00
7a4a84d6e0
project builds / gross hack to disable compression code path / ws connect -x works but test fails
feature/send_binary_vector
Benjamin Sergeant
2020-07-07 19:25:18 -07:00
fbe7b0b020
WebSocketPerMessageDeflateCompressor can work with vector or std::string
Benjamin Sergeant
2020-07-07 18:17:44 -07:00
afd9ef7d6f
more templates in WebSocketTransport
Benjamin Sergeant
2020-07-07 11:07:01 -07:00
f772e40ad8
WebSocketPerMessageDeflateCompressor
Benjamin Sergeant
2020-07-07 10:59:59 -07:00
ddf992a03c
Deployed 7c1b57c with MkDocs version: 1.1.2
2020-07-07 17:59:20 +00:00
7c1b57c8cd
(cmake) change the way zlib and openssl are searched
Benjamin Sergeant
2020-07-07 10:58:20 -07:00
89e7a35a81
add cmake comment about using a custom zlib
v9.8.6
v9.8.5
Benjamin Sergeant
2020-07-06 18:34:14 -07:00
de6acfe54e
Merge branch 'flagarde-patch-1'
Benjamin Sergeant
2020-07-06 18:31:05 -07:00
4789e190a0
zlib needs to be found (with vcpkg in CI), do not use our bundled copy
Benjamin Sergeant
2020-07-06 18:08:53 -07:00
d6366587a0
(UWP CI) install zlib from vcpkg
Benjamin Sergeant
2020-07-06 17:52:28 -07:00
f0117838f0
Deployed dddf00e with MkDocs version: 1.1.2
2020-07-06 23:16:15 +00:00
dddf00e3b1
(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
Benjamin Sergeant
2020-07-06 16:15:24 -07:00
ed6f75a478
Deployed cc47fb1 with MkDocs version: 1.1.2
2020-06-26 23:49:55 +00:00
cc47fb1c83
(cobra bots) remove bots which is not required now that we can use Python extensions
Benjamin Sergeant
2020-06-26 16:49:08 -07:00
8e8cea1bcd
delete C++ code for first memory warning
Benjamin Sergeant
2020-06-25 11:22:21 -07:00
e49959eba7
Deployed 68c97da with MkDocs version: 1.1.2
2020-06-25 17:06:11 +00:00
68c97da518
(cmake) new python code is optional and enabled at cmake time with -DUSE_PYTHON=1
Benjamin Sergeant
2020-06-25 10:05:02 -07:00
f8b8799799
fix windows compile error with misplaced #ifdefs/#endifs
Benjamin Sergeant
2020-06-24 23:26:14 -07:00
62c3cf6fdb
Deployed 615f177 with MkDocs version: 1.1.2
2020-06-25 06:22:18 +00:00
615f1778c3
new cobra to python bot (still sending to statsd)
Benjamin Sergeant
2020-06-24 23:21:19 -07:00
9aa3f60aea
Deployed 271055f with MkDocs version: 1.1.2
2020-06-24 05:50:46 +00:00
c45b197c85
(cobra metrics to statsd bot) fps slow frame info : do not include os name
Benjamin Sergeant
2020-06-19 18:10:49 -07:00
526ed247ee
Deployed 7871389 with MkDocs version: 1.1.2
2020-06-20 00:47:48 +00:00
78713895dd
(cobra metrics to statsd bot) send info about memory warnings
Benjamin Sergeant
2020-06-19 17:46:59 -07:00
aae2402ed2
disable flaky unittest once again ... ping pong is not reliable timing wise
Benjamin Sergeant
2020-06-19 01:16:07 -07:00
b62de6e516
tweak ping/pong test to be more lenient
Benjamin Sergeant
2020-06-19 01:11:05 -07:00
6e747849d7
enable ping unittest, which is flaky -> see #218
Benjamin Sergeant
2020-06-19 01:04:44 -07:00
a3a73ce1ac
add unittest to test http redirection fully
Benjamin Sergeant
2020-06-19 00:22:39 -07:00