Commit Graph
58 Commits
Author SHA1 Message Date
Alex Hultman 7265ffe480 Experimental: rewrite extensions negotiation 2021-01-11 07:27:40 +01:00
Alex Hultman ad0a961430 Experimental: Fix all signed/unsigned warnings 2020-11-30 23:00:36 +01:00
Alex Hultman 13e0a93441 Never emit 0 as close code; use 1005 instead 2020-06-27 00:57:42 +02:00
Alex Hultman f52d816032 Never compress 0 bytes, finish pub/sub ded. compr. 2020-06-22 07:10:43 +02:00
Alex Hultman 04bce1b828 maxBackpressure of 0 should always mean disabled 2020-06-21 00:10:03 +02:00
Alex Hultman e85b5bff3c Skip sending on WebSocket when having too much backpressure 2020-06-21 00:05:18 +02:00
Alex Hultman 1a2c5a9527 Make getNativeHandle public 2020-06-20 23:45:30 +02:00
Alex Hultman fd2d36328d Never drain a closing socket from unsubscribeAll 2020-06-10 22:25:45 +02:00
Alex Hultman 025415d1a0 Clean-ups, bump copyright date 2020-06-08 13:31:06 +02:00
Alex Hultman d5782fdb9c addressAsText, getRemoteProxiedAddress 2020-06-06 19:52:28 +02:00
Alex Hultman cb48712b3d Make it stick together just barely 2020-06-02 12:40:51 +02:00
Alex Hultman 3a856b610b Add memory limited dedicated compressors 2020-02-29 04:06:27 +01:00
Alex Hultman 02f1ceeba0 Add WebSocket::unsubscribeAll 2020-01-12 17:46:29 +01:00
Alex Hultman 563e95b5c1 Automatically cork WebSocket::send 2019-12-28 22:57:02 +01:00
Alex Hultman f4bb87a098 Add WebSocket::cork 2019-12-28 22:47:15 +01:00
Alex Hultman f274d63dca Fix all -Wconversion warnings 2019-12-28 21:44:54 +01:00
Alex Hultman 49f460ef20 Add app.publish 2019-10-17 02:09:48 +02:00
Alex Hultman d8fe3a25b8 Implement unsubscribe and drain in publish 2019-10-09 02:33:51 +02:00
Alex Hultman cbb46b494f Reset timeout on websocket send and publishes 2019-10-08 22:59:22 +02:00
Alex Hultman f58a9e1e0d Pass autobahn with pub/sub 2019-10-08 03:55:27 +02:00
Alex Hultman 6c7844d65f Fix up unsubscribeAll 2019-10-07 11:58:02 +02:00
Alex Hultman d09f25850b Hook up new pubsub 2019-10-07 10:57:04 +02:00
Alex Hultman 2714ffe8d6 Upgrade to uSockets 0.2.0a1 (experimental) 2019-06-11 19:16:46 +02:00
Alex Hultman 762b18459e Refactor a bit, put everything in uWS namespace 2019-06-09 07:53:43 +02:00
Alex Hultman 495ccfc076 Update uS, add AsyncSocket::getRemoteAddress() 2019-03-03 07:40:44 +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 6fe717f46a Some changes to pubsub 2019-02-09 08:45:27 +01:00
Alex Hultman f08bc8cd03 Initial pubsub preparatory work 2019-02-09 01:00:17 +01:00
Alex Hultman aaf1f05dcd Move in TopicTree from uTT 2019-02-08 23:23:25 +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 ba10536f50 Introduce WebSocket::terminate (todo: rename to close) 2019-01-26 17:13:47 +01:00
Alex Hultman d331ec3e45 Refactor using new uSockets API 2019-01-25 14:15:40 +01:00
Alex Hultman a0eeb769c9 Carry over backpressure from Http to WS 2019-01-24 11:53:10 +01:00
Alex Hultman 586595e727 Fix up websocket close events 2019-01-22 11:22:22 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +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 de53d12bfe Fix up getUserData 2018-12-26 14:35:09 +01:00
Alex Hultman 038111fb98 Add SHARED and DEDICATED compressor options 2018-12-22 05:58:26 +01:00
Alex Hultman f8e299c312 Add initial send compression 2018-12-22 03:08:12 +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 3e75936387 Begin restoring WebSocket performance 2018-12-21 02:13:44 +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