Commit Graph
93 Commits
Author SHA1 Message Date
uNetworkingABandGitHub 7da88ce71c Do not free subscriber on last unsubscription 2023-11-01 15:05:13 +01:00
Yevgen PogribnyiandGitHub 143db3034f Don't lose ws frame payload when its header went to backpressure (#1662) 2023-09-23 23:01:21 +02:00
Gregory LingandGitHub bf0d977cd0 Silence unused variable warning (#1613) 2023-07-20 15:53:01 +02:00
Alex Hultman ba6ff7b7f4 Sometimes I cannot think properly 2023-05-11 13:08:22 +02:00
Alex Hultman 62b5feb540 We need uncorkWithoutSending 2023-05-11 12:48:12 +02:00
Alex Hultman 20e7c5aaf0 Properly uncork on large message backpressure 2023-05-11 12:33:07 +02:00
Alex Hultman f6f5a3d6e8 Add large non-ssl, non-compressed WebSocket message sending optimization 2023-05-11 11:18:58 +02:00
uNetworkingABandGitHub 8cf7e73862 WebSocket subscription handler broken 2023-01-02 18:21:05 +01:00
Alex Hultman 27d93c8d0c Emit new 'subscription' events 2022-12-24 12:32:17 +01:00
Alex Hultman 7a363a8b10 Revert "closeOnBackpressure should block all further sending"
This reverts commit d4ffeadd88.
2022-11-06 06:23:44 +01:00
Alex Hultman d4ffeadd88 closeOnBackpressure should block all further sending 2022-11-06 06:21:44 +01:00
e3dioandGitHub e8b870c7ba Can't unsubscribe without subscriber (#1383) 2021-11-20 20:37:46 +01:00
Alex Hultman 9a5bc5d09c Clear subscriptions before calling close handler, not after 2021-11-13 09:23:09 +01:00
Alex Hultman 1dd372d6ac Basic fragmented send feature 2021-10-30 17:46:16 +02:00
root 0ede7e5d8e Optimize big message publishing, fix unreferenced publishes 2021-09-28 23:22:38 +00: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
Alex Hultman 069e66b31c Optimize getSendBuffer for large sends 2021-09-19 01:19:29 +00:00
Alex Hultman 7c1ba44545 Improve large backpressure drain performance 2021-09-16 17:13:13 +02:00
Alex Hultman 292b00c4c3 Fix requiresWrite uncorking bug 2021-09-15 02:38:42 +02:00
Alex HultmanandGitHub 030d113710 Fix WebSocket::close being called in close handler (#1320) 2021-08-29 21:49:18 +02:00
Mark PlomerandGitHub 501c090ef5 Shorter socket-timeouts after WebSocket::end() (#1245) (#1246) 2021-08-28 21:27:32 +02:00
Alex Hultman 5df25ffa59 Fix lookupTopic 2021-04-10 22:24:11 +02:00
Alex Hultman 65d1498774 Make conceptual pub/sub changes for v19 2021-04-10 17:22:16 +02: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 6bf2e75589 Many changes and additions to pub/sub APIs 2021-02-20 15:58:20 +01:00
Alex Hultman 94f4deb50e Return [numSubscribers, success] when (un)subscribing 2021-02-19 19:53:29 +01:00
Alex Hultman 26b7f8c7a6 WebSocket::send returns SendStatus now 2021-02-19 07:37:17 +01:00
Alex Hultman acbe52518f Remove f2, add ofats::any_invocable 2021-02-19 07:09:55 +01:00
Alex Hultman a17a6a7268 Add nonStrict subscribe/unsubscribe 2021-02-03 00:16:56 +01:00
Alex Hultman df7c4bb9f8 Add option sendPingsAutomatically 2021-01-31 12:53:17 +00:00
Alex Hultman 76487df709 Hook up WebSocket::publish as sender 2021-01-29 13:27:04 +01:00
Alex Hultman 90e61e88fd Add resetIdleTimeoutOnSend 2021-01-27 18:56:24 +01:00
Alex Hultman 12d8b192a1 Add closeOnBackpressureLimit option 2021-01-26 12:18:31 +01:00
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