Commit Graph
71 Commits
Author SHA1 Message Date
Alex Hultman 2ce8af23c7 Fix silly warning in newest compilers 2022-08-28 22:29:11 +02:00
Alex Hultman 9a5bc5d09c Clear subscriptions before calling close handler, not after 2021-11-13 09:23:09 +01:00
Alex Hultman 406250ee22 Fix and add more decompressors 2021-10-30 23:53:56 +02:00
root 0ede7e5d8e Optimize big message publishing, fix unreferenced publishes 2021-09-28 23:22:38 +00:00
Alex Hultman 415fec3830 Add DEDICATED_DECOMPRESSOR CompressOption 2021-09-28 04:06:49 +02:00
Alex Hultman 60939de843 Move TopicTree to the App 2021-09-25 21:24:59 +00:00
Alex Hultman 4243874967 Rewritten pub/sub, v20 2021-09-25 04:46:10 +02:00
Mark PlomerandGitHub 501c090ef5 Shorter socket-timeouts after WebSocket::end() (#1245) (#1246) 2021-08-28 21:27:32 +02:00
Alex Hultman 8089063504 Expose payload to ping/pong events 2021-02-26 01:32:06 +01:00
Alex Hultman 3eae7116e7 Add WITH_LIBDEFLATE option, pass Autobahn 2021-02-24 10:49:49 +01:00
Alex Hultman 380b3a7134 Make getUserData type safe 2021-02-21 01:31:38 +01:00
Alex Hultman c7805e2e48 Remove uWS namespace specifier 2021-02-20 23:50:50 +01:00
Alex Hultman df7c4bb9f8 Add option sendPingsAutomatically 2021-01-31 12:53:17 +00:00
ronen37andGitHub d7d2c22750 Fix checking if we actively drain backpressure (#1179)
in WebSocketContext::us_socket_context_on_writable()
2021-01-26 12:40:36 +01:00
Alex Hultman ad1d6fac08 Fix -Wunused-parameter 2020-12-01 01:10:00 +01:00
Alex Hultman ad0a961430 Experimental: Fix all signed/unsigned warnings 2020-11-30 23:00:36 +01:00
Alex Hultman 21cb4846df Use std::optional in permessage-deflate 2020-10-23 02:16:49 +02:00
Alex Hultman f2198ccfac Fix >2gb streamed HTTP responses 2020-07-29 08:41:53 +02:00
Alex Hultman 3e5d91418a Emit 1006 with some usable reason messages 2020-06-27 01:49:51 +02:00
Alex Hultman 10bbfaa22f Use uSockets v0.5.0 2020-06-26 22:12:33 +02:00
Alex Hultman 2ff50630e9 Send TCP FIN from HttpContext if WebSocket FIN sent 2020-06-26 06:08:41 +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 HultmanandGitHub 11aafd32f5 Always emit drain event in case of having no backpressure 2020-05-07 08:10:57 +02:00
Alex Hultman 22d661609a Zero-length inflations are peculiar, yet valid 2020-04-03 20:46:20 +02:00
Alex Hultman 95f173bff8 Reintroduce ping/pong handlers 2020-02-29 00:05:00 +01:00
Alex Hultman 54dd866a84 Fragments forming a long message are not caught early 2019-12-31 12:56:45 +01:00
Alex Hultman f274d63dca Fix all -Wconversion warnings 2019-12-28 21:44:54 +01: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 996703dde6 Make everything struct, never use class 2019-06-09 08:07:51 +02:00
Alex Hultman 762b18459e Refactor a bit, put everything in uWS namespace 2019-06-09 07:53:43 +02:00
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