7c81a98632Add a node.js benchmarking test program, to see how fast node can receive messages.
Benjamin Sergeant
2020-08-02 14:21:11 -07:00
182ee4cad6Deployed 6e47c62 with MkDocs version: 1.1.22020-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
b74d82f111Deployed bcae7f3 with MkDocs version: 1.1.22020-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
7166d87f82Deployed 6f0307f with MkDocs version: 1.1.22020-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
80fb8cfb59zlib.h included in ifdefs
Benjamin Sergeant
2020-07-31 22:19:33 -07:00
43c0ae0812disable unix unittest for testing windows
Benjamin Sergeant
2020-07-31 22:14:05 -07:00
dcc447ec4auser agent zlib fix
Benjamin Sergeant
2020-07-31 22:11:16 -07:00
5127094f0ezlib is optional
Benjamin Sergeant
2020-07-31 22:07:20 -07:00
73abe5eaf5Deployed 2e3d625 with MkDocs version: 1.1.22020-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
029289413cws test shell script / add option so tune how large sent file will be
Benjamin Sergeant
2020-07-29 17:46:37 -07:00
1be4271d14Deployed 4d51098 with MkDocs version: 1.1.22020-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
4d3b9f633dDeployed c2b05af with MkDocs version: 1.1.22020-07-29 05:01:10 +00:00
c2b05af022can compile on macOS against jsoncpp installed from homebrew
Benjamin Sergeant
2020-07-28 22:00:29 -07:00
e85f975ab0compiler warning fixes
Benjamin Sergeant
2020-07-28 21:46:26 -07:00
11be279005Deployed dc77d62 with MkDocs version: 1.1.22020-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
2ca6bb6835Deployed 4f41f20 with MkDocs version: 1.1.22020-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
5940e53d77enable cobra tests which were disabled
Benjamin Sergeant
2020-07-27 17:39:53 -07:00
22dffd5b7eWebSocket::close is re-entrant
Benjamin Sergeant
2020-07-27 17:38:33 -07:00
af2f31045dsnake 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
5daa59f9f3minor makefile tweaks
Benjamin Sergeant
2020-07-27 17:19:05 -07:00
2ea9d06a93fix typo in unittest string description: ununexpected -> unsubscribed
Benjamin Sergeant
2020-07-27 17:16:53 -07:00
b47cb43419Deployed 847fc14 with MkDocs version: 1.1.22020-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
9e0825127dDeployed 0388459 with MkDocs version: 1.1.22020-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
45a40c8640new Dockerfile to run locally the test on an Ubuntu 20.04 system
Benjamin Sergeant
2020-07-24 14:46:09 -07:00
6d156430f5Deployed e34f1c3 with MkDocs version: 1.1.22020-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
c14a4c0e3eformatting
Benjamin Sergeant
2020-07-24 13:04:14 -07:00
7e6299a3b6Deployed b146e93 with MkDocs version: 1.1.22020-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
166492ac9bDeployed 9957ec9 with MkDocs version: 1.1.22020-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
78a42f61bdadd 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
4200eeae57Deployed 0f026c5 with MkDocs version: 1.1.22020-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
2e3672288dDeployed c26a2d5 with MkDocs version: 1.1.22020-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
8d743c5264Deployed 2798886 with MkDocs version: 1.1.22020-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
1bff15e048Deployed ffde283 with MkDocs version: 1.1.22020-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
Added test for websocket leak (#225)
marcelkauf
2020-07-09 19:19:44 +02:00
b21306376buwp build fix + more ivp6 support
v9.9.0
Benjamin Sergeant
2020-07-08 12:38:55 -07:00
3d4ecc4501Deployed fbd1768 with MkDocs version: 1.1.22020-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
3a673575ddclang format
Benjamin Sergeant
2020-07-08 10:39:46 -07:00
d5e51840abuse const iterators
Benjamin Sergeant
2020-07-08 10:34:14 -07:00
543c2086b2more templates in WebSocketTransport
Benjamin Sergeant
2020-07-07 11:07:01 -07:00
95eab59c08WebSocketPerMessageDeflateCompressor can work with vector or std::string
Benjamin Sergeant
2020-07-07 18:17:44 -07:00
e9e768a288better unittest for IXWebSocketPerMessageDeflateCompressor
Benjamin Sergeant
2020-07-07 21:15:34 -07:00
e2180a1f31add unittest for IXWebSocketPerMessageDeflateCompressor
Benjamin Sergeant
2020-07-07 20:56:27 -07:00
7a4a84d6e0project 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
fbe7b0b020WebSocketPerMessageDeflateCompressor can work with vector or std::string
Benjamin Sergeant
2020-07-07 18:17:44 -07:00
afd9ef7d6fmore templates in WebSocketTransport
Benjamin Sergeant
2020-07-07 11:07:01 -07:00
f772e40ad8WebSocketPerMessageDeflateCompressor
Benjamin Sergeant
2020-07-07 10:59:59 -07:00
ddf992a03cDeployed 7c1b57c with MkDocs version: 1.1.22020-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
89e7a35a81add cmake comment about using a custom zlib
v9.8.6
v9.8.5
Benjamin Sergeant
2020-07-06 18:34:14 -07:00
de6acfe54eMerge branch 'flagarde-patch-1'
Benjamin Sergeant
2020-07-06 18:31:05 -07:00
4789e190a0zlib 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
f0117838f0Deployed dddf00e with MkDocs version: 1.1.22020-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
ed6f75a478Deployed cc47fb1 with MkDocs version: 1.1.22020-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
8e8cea1bcddelete C++ code for first memory warning
Benjamin Sergeant
2020-06-25 11:22:21 -07:00
e49959eba7Deployed 68c97da with MkDocs version: 1.1.22020-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
f8b8799799fix windows compile error with misplaced #ifdefs/#endifs
Benjamin Sergeant
2020-06-24 23:26:14 -07:00
62c3cf6fdbDeployed 615f177 with MkDocs version: 1.1.22020-06-25 06:22:18 +00:00
615f1778c3new cobra to python bot (still sending to statsd)
Benjamin Sergeant
2020-06-24 23:21:19 -07:00
9aa3f60aeaDeployed 271055f with MkDocs version: 1.1.22020-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
526ed247eeDeployed 7871389 with MkDocs version: 1.1.22020-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
aae2402ed2disable flaky unittest once again ... ping pong is not reliable timing wise
Benjamin Sergeant
2020-06-19 01:16:07 -07:00
b62de6e516tweak ping/pong test to be more lenient
Benjamin Sergeant
2020-06-19 01:11:05 -07:00
6e747849d7enable ping unittest, which is flaky -> see #218
Benjamin Sergeant
2020-06-19 01:04:44 -07:00
a3a73ce1acadd unittest to test http redirection fully
Benjamin Sergeant
2020-06-19 00:22:39 -07:00