Benjamin Sergeant
|
93167e3917
|
cmake / move FetchContent spdlog to a single place
|
2020-09-26 13:55:03 -07:00 |
|
Benjamin Sergeant
|
2526a94454
|
(cmake) use FetchContent cmake module to retrieve spdlog third party dependency
|
2020-09-26 13:51:19 -07:00 |
|
carr-7
|
39c84c7d51
|
Rename HttpResponse's payload to body (#245)
* rename payload to body
* Fixed ws cmd line tool to use the renamed body
Co-authored-by: Jay <jasoncarr@Jasons-MacBook-Pro.local>
|
2020-09-12 19:01:37 -07:00 |
|
Benjamin Sergeant
|
1e8c421d66
|
formatting
|
2020-09-12 13:55:27 -07:00 |
|
carr-7
|
72d6651ded
|
Read body in parseRequest for HttpServer (#244)
Co-authored-by: Jay <jasoncarr@Jasons-MacBook-Pro.local>
|
2020-09-12 13:53:56 -07:00 |
|
Benjamin Sergeant
|
efb245278d
|
unittest / switch from using the REQUIRE macro, which halts (and usually crash) the test to the CHECK macro in IXWebSocketChatTest.cpp
|
2020-08-31 13:56:45 -07:00 |
|
Benjamin Sergeant
|
73b9c0b89b
|
(socket servers) merge the ConnectionInfo class with the ConnectionState one, which simplify all the server apis
|
2020-08-28 14:55:40 -07:00 |
|
Benjamin Sergeant
|
e8e98e667d
|
add ruby websocket bencharking code using
faye-websocket-ruby to receive messages as fast as possible
|
2020-08-18 13:45:53 -07:00 |
|
Benjamin Sergeant
|
12f36b61ff
|
(websocket server) Handle programmer error when the server callback is not registered properly (fix #227)
|
2020-08-06 04:40:32 -07:00 |
|
Benjamin Sergeant
|
b15c4189f5
|
add csharp/dotnet devnull client to measure througput with different runtimes
|
2020-08-05 13:59:26 -07:00 |
|
Benjamin Sergeant
|
74d3278258
|
add python test file to benchmark how many messages can be received per second
|
2020-08-04 10:53:35 -07:00 |
|
Benjamin Sergeant
|
831152b906
|
add a devnull like sample code using libwebsockets C library, to see how many messages per second a client library can receive (answer is about the same as IXWebSocket)
|
2020-08-02 19:26:19 -07:00 |
|
Benjamin Sergeant
|
7c81a98632
|
Add a node.js benchmarking test program, to see how fast node can receive messages.
|
2020-08-02 14:21:11 -07:00 |
|
Benjamin Sergeant
|
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)
|
2020-08-02 12:09:13 -07:00 |
|
Benjamin Sergeant
|
e85f975ab0
|
compiler warning fixes
|
2020-07-28 21:46:26 -07:00 |
|
Benjamin Sergeant
|
4f41f209a2
|
(socket utility) move ix::getFreePort to ixwebsocket library
|
2020-07-27 18:17:13 -07:00 |
|
Benjamin Sergeant
|
5940e53d77
|
enable cobra tests which were disabled
|
2020-07-27 17:39:53 -07:00 |
|
Benjamin Sergeant
|
2ea9d06a93
|
fix typo in unittest string description: ununexpected -> unsubscribed
|
2020-07-27 17:16:53 -07:00 |
|
Benjamin Sergeant
|
9a47ec1217
|
(ixsnake) uses an std::thread to handle redis subscriptions (2 unittest still failing)
|
2020-07-24 18:12:07 -07:00 |
|
Benjamin Sergeant
|
c14a4c0e3e
|
formatting
|
2020-07-24 13:04:14 -07:00 |
|
Benjamin Sergeant
|
b146e93a3a
|
(unittest) port most unittests to the new server API
|
2020-07-24 12:49:36 -07:00 |
|
Benjamin Sergeant
|
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
|
2020-07-23 19:29:41 -07:00 |
|
Benjamin Sergeant
|
ca829a3a98
|
implement very very simple stream sql support
|
2020-07-10 16:07:51 -07:00 |
|
Benjamin Sergeant
|
26a1e63626
|
snake: stream sql mock + add republished channel option
|
2020-07-10 15:06:55 -07:00 |
|
Benjamin Sergeant
|
c98959b895
|
comment out unittest which cannot be activated yet
|
2020-07-09 10:34:52 -07:00 |
|
marcelkauf
|
baf18648e9
|
Added test for websocket leak (#225)
* Added test for websocket leak
* Fixed test
|
2020-07-09 10:19:44 -07:00 |
|
Benjamin Sergeant
|
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
|
2020-07-08 12:10:35 -07:00 |
|
Benjamin Sergeant
|
3a673575dd
|
clang format
|
2020-07-08 10:39:46 -07:00 |
|
Benjamin Sergeant
|
95eab59c08
|
WebSocketPerMessageDeflateCompressor can work with vector or std::string
|
2020-07-07 21:26:04 -07:00 |
|
Benjamin Sergeant
|
e9e768a288
|
better unittest for IXWebSocketPerMessageDeflateCompressor
|
2020-07-07 21:15:34 -07:00 |
|
Benjamin Sergeant
|
e2180a1f31
|
add unittest for IXWebSocketPerMessageDeflateCompressor
|
2020-07-07 20:56:38 -07:00 |
|
Benjamin Sergeant
|
68c97da518
|
(cmake) new python code is optional and enabled at cmake time with -DUSE_PYTHON=1
|
2020-06-25 10:05:02 -07:00 |
|
Benjamin Sergeant
|
615f1778c3
|
new cobra to python bot (still sending to statsd)
values + string building can be done in python (we are embedding it)
|
2020-06-24 23:21:19 -07:00 |
|
Benjamin Sergeant
|
aae2402ed2
|
disable flaky unittest once again ... ping pong is not reliable timing wise
|
2020-06-19 01:16:07 -07:00 |
|
Benjamin Sergeant
|
b62de6e516
|
tweak ping/pong test to be more lenient
|
2020-06-19 01:11:05 -07:00 |
|
Benjamin Sergeant
|
6e747849d7
|
enable ping unittest, which is flaky -> see #218
|
2020-06-19 01:04:44 -07:00 |
|
Benjamin Sergeant
|
a3a73ce1ac
|
add unittest to test http redirection fully
|
2020-06-19 00:22:39 -07:00 |
|
Benjamin Sergeant
|
565a08b229
|
(cobra client and bots) add batch_size subscription option for retrieving multiple messages at once
|
2020-06-17 17:13:45 -07:00 |
|
Benjamin Sergeant
|
c5aadffa08
|
(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-10 22:30:55 -07:00 |
|
Benjamin Sergeant
|
1af39bf0eb
|
(ixbots) add options to limit how many messages per minute should be processed
|
2020-05-12 21:40:17 -07:00 |
|
Benjamin Sergeant
|
2e904801a0
|
(ixbots) add new class to configure a bot to simplify passing options around
|
2020-05-12 19:08:16 -07:00 |
|
Benjamin Sergeant
|
fa9a4660c6
|
bump some test timeout
|
2020-05-08 10:03:18 -07:00 |
|
Benjamin Sergeant
|
3912e22b28
|
give websocket_subprotocol test more time to establish a connection
|
2020-05-08 09:26:05 -07:00 |
|
Benjamin Sergeant
|
0772ef7ef5
|
(cobra bots) add a --heartbeat_timeout option to specify when the bot should terminate because no events are received
|
2020-05-06 22:01:48 -07:00 |
|
Benjamin Sergeant
|
2786631e3b
|
clang-format
|
2020-05-04 17:19:25 -07:00 |
|
Benjamin Sergeant
|
af003fc79b
|
(ixbots) fix tsan data race error when accessing verbose parameter
|
2020-05-04 17:15:35 -07:00 |
|
Benjamin Sergeant
|
4f17cd5e74
|
(cobra bots) do not use a queue to store messages pending processing, let the bot handle queuing
|
2020-05-04 15:45:11 -07:00 |
|
Benjamin Sergeant
|
b34d9f6a06
|
uwp fixes
|
2020-05-01 11:27:59 -07:00 |
|
Benjamin Sergeant
|
9f770b10c0
|
clang-format
|
2020-04-24 15:34:00 -07:00 |
|
Benjamin Sergeant
|
646b18bf28
|
core logger support multiple level + switch ixbots to user corelogger instead of spdlog
|
2020-04-24 15:17:50 -07:00 |
|