Commit Graph
37 Commits
Author SHA1 Message Date
Alex Hultman a419221a28 Fix up WebSocketContext.h 2019-02-10 01:08:10 +01:00
Alex Hultman f1bdbc968b First pass of overall cleanups 2019-02-10 00:17:13 +01:00
Alex Hultman 3fe7964e74 Properly unsubscribe from everywhere on close 2019-02-09 09:29:29 +01:00
Alex Hultman 7d990a3bc1 API CHANGE: ws.close -> ws.end, ws.terminate -> ws.close 2019-01-26 17:20:47 +01:00
Alex Hultman 80322a5af7 Never parse messages while in shutdown 2019-01-26 14:31:37 +01:00
Alex Hultman d331ec3e45 Refactor using new uSockets API 2019-01-25 14:15:40 +01:00
Alex Hultman e14461e253 Fix up websocket writable behavior 2019-01-24 18:01:20 +01:00
Alex Hultman 586595e727 Fix up websocket close events 2019-01-22 11:22:22 +01:00
Alex Hultman 0934965fa5 Implement idleTimeout 2019-01-22 10:15:27 +01:00
Alex Hultman 85889153b9 Remove most debug prints 2019-01-22 09:41:48 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +01:00
Alex Hultman 7afb3af614 Fake succeed all writes on closed socket (fix memory leak) 2018-12-30 21:08:54 +01:00
Alex Hultman cd6ab69140 Fix SSL destructor mistake 2018-12-30 18:12:19 +01:00
Alex Hultman ed7222e513 Fix last obvious leak 2018-12-30 18:02:57 +01:00
Alex Hultman 339e2d72dc Fix more memory leaks 2018-12-30 17:43:11 +01:00
Alex Hultman 2c212f2fb4 Fix struct/class mismatch 2018-12-30 13:29:29 +01:00
Alex Hultman e70eb78ae3 Hook up maxPayloadLength for Zlib too 2018-12-29 13:47:15 +01:00
Alex Hultman 50de2cea89 Hook up maxPayloadLength, not for Zlib 2018-12-29 13:32:49 +01:00
Alex Hultman a7597772f8 Separate parser from formatter, make it build 2018-12-28 14:16:28 +01:00
Alex Hultman 59b3fee3fe Emit drain event, add comments, etc 2018-12-28 13:14:57 +01:00
Alex Hultman 44fbd44211 Emit close event for WebSockets 2018-12-28 11:55:28 +01:00
Alex Hultman 73b4fc384d Fix WebSocketContext::create sizeof bug 2018-12-28 10:59:51 +01:00
Alex Hultman 038111fb98 Add SHARED and DEDICATED compressor options 2018-12-22 05:58:26 +01:00
Alex Hultman 3fa0fbc5fa Add a few more events 2018-12-21 04:31:37 +01:00
Alex Hultman 4a2cd93a22 Pass Autobahn with restored WS perf. 2018-12-21 03:18:34 +01:00
Alex Hultman 7c3585afee Use us_socket_is_closed, fix non-SSL/Windows build 2018-12-19 09:22:05 +01:00
Alex Hultman 9d0e4f4771 Pass entire Autobahn over SSL 2018-11-29 20:57:31 +01:00
Alex Hultman 3e769fb841 Pass a big portion of Autobahn over SSL 2018-11-29 09:59:03 +01:00
Alex Hultman 6c9ac88f50 Add basic permessage-deflate, pass entire Autobahn 2018-11-29 08:37:31 +01:00
Alex Hultman a25e2ab397 A bit of clean-ups and license fixes 2018-11-22 01:29:28 +01:00
Alex Hultman 519c1f5b60 Some clean-ups 2018-11-21 23:19:20 +01:00
Alex Hultman 91620c6c42 (Just barely) pass Autobahn tests chapter 1 - 10 2018-11-21 22:46:17 +01:00
Alex Hultman 894609e638 Pass opCode around, add Loop::setPostHandler 2018-11-04 10:44:11 +01:00
Alex Hultman 57255c874d Hook up AsyncSocket with WebSocket 2018-10-30 03:26:43 +01:00
Alex Hultman f2e2b7107a Wrap up messageHandler, send(message) 2018-10-30 03:01:19 +01:00
Alex Hultman 292476366c Make WebSockets benchmarkable 2018-10-30 01:53:28 +01:00
Alex Hultman 1613c5020d Initial WebSocket hook up 2018-10-29 23:06:32 +01:00