Commit Graph
262 Commits
Author SHA1 Message Date
Alex Hultman 591518b2d0 Ping/pong ahoy 2020-02-29 00:18:25 +01:00
Alex Hultman 95f173bff8 Reintroduce ping/pong handlers 2020-02-29 00:05:00 +01:00
Dmitry IgrishinandGitHub 1c84277fd9 Optionally prevent sending of "uWebSockets" header (#998)
* Optionally prevent sending of "uWebSockets" header
2020-02-23 18:41:25 +01:00
Alex Hultman 588d234d45 Allow having no open handler 2020-01-19 19:57:25 +01:00
Alex Hultman 5da9926174 Fix one warning 2020-01-19 19:49:46 +01:00
Alex Hultman 0faebc7590 Allow having no close handler 2020-01-19 19:46:51 +01:00
Alex Hultman 61b69169c7 Quick-fix for HttpRouter priority flaw 2020-01-19 19:43:26 +01:00
Alex Hultman 02f1ceeba0 Add WebSocket::unsubscribeAll 2020-01-12 17:46:29 +01:00
Alex Hultman 199f42e800 It's no longer a draft 2020-01-09 18:48:26 +01:00
Alex HultmanandGitHub f118566258 Update TopicTreeDraft.h 2020-01-09 18:31:44 +01:00
Alex HultmanandGitHub 968fd0a142 Don't update min in publish 2020-01-09 09:25:13 +01:00
Alex HultmanandGitHub 02b2af5f24 Always uncork after Http parse 2020-01-01 22:46:03 +01:00
Alex Hultman bbbe3bda18 Be strict about maxPayloadLength in inflate 2020-01-01 18:15:56 +01:00
Alex Hultman 6fe5ea40aa Silence an UBSAN fuzzing fault 2020-01-01 17:41:43 +01:00
Alex Hultman 9038988a48 Do not require 4byte alignment in isValidUtf8 2020-01-01 17:37:16 +01:00
Alex Hultman 54dd866a84 Fragments forming a long message are not caught early 2019-12-31 12:56:45 +01:00
Alex HultmanandGitHub b9062ec770 Fix HttpContext 2019-12-29 22:51:10 +01:00
Alex HultmanandGitHub 679cb6a6a3 Woops, fix router 2019-12-29 22:47:39 +01:00
Alex HultmanandGitHub 703795c3f5 Clean up router 2019-12-29 22:36:57 +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 3fb870ac55 Clean-up and fix HttpResponse::cork behavior 2019-12-26 17:17:33 +01:00
Alex Hultman bdac60a177 Fix a few warnings 2019-12-26 16:45:23 +01:00
Alex Hultman 6d1a6ba1bd Make it compile, lowercase methods 2019-12-26 01:03:50 +01:00
Alex Hultman d3b43e3fa1 First stab at new router 2019-12-26 00:32:02 +01:00
Alex Hultman 5ab190f430 Breaking: construct/destruct WebSocket UserData 2019-12-22 00:00:37 +01:00
Alex HultmanandGitHub f358601505 Fix Http timeout of posted data 2019-11-18 22:08:06 +01:00
Alex Hultman 37d1cdf29d Handle double subscriptions 2019-11-08 12:16:41 +01:00
Alex Hultman 04d3fb3a99 Make sure to remove post/pre handlers 2019-11-08 00:00:59 +01:00
Alex HultmanandGitHub 8af994f713 Update PerMessageDeflate.h 2019-10-21 10:54:33 +02:00
Alex HultmanandGitHub 1707d4b809 Update AsyncSocketData.h 2019-10-21 10:53:31 +02:00
yarregandAlex Hultman 135ee93c2c Type casting fix (#951) 2019-10-18 01:51:41 +02:00
Alex Hultman 49f460ef20 Add app.publish 2019-10-17 02:09:48 +02:00
Alex Hultman de688869d6 Filter triggered topics without subscribers 2019-10-17 01:23:27 +02:00
Alex Hultman d8fe3a25b8 Implement unsubscribe and drain in publish 2019-10-09 02:33:51 +02:00
Alex Hultman 2880745629 Add basic maxBackpressure for pubsub 2019-10-09 01:20:34 +02:00
Alex Hultman 1707469cf8 Change mark 2019-10-08 23:12:03 +02:00
Alex Hultman 62c4253ed3 Add subprotocol response 2019-10-08 23:10:58 +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 d8b2d3cbb9 Update function2 2019-10-07 12:03:50 +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 HultmanandGitHub a35d7f2ff3 Update TopicTreeDraft.h 2019-10-07 10:21:46 +02:00
Alex HultmanandGitHub 4a8bfe6c3b Add draft 2019-10-06 21:45:13 +02:00
ForrestSuandAlex Hultman ba38450b1f Fix compile error: 'INT_MIN' was not declared in this scope (#922) 2019-08-19 19:31:44 +02:00
Alex HultmanandGitHub 911e16efb8 Reset onData handler once we get the fin chunk 2019-08-17 00:00:39 +02:00
Alex Hultman 1c237bfec8 Do not use Z_FINISH in permessage-deflate 2019-07-28 21:57:31 +00:00
Alex HultmanandGitHub f4b7e9ee70 Fix undefined store in formatMessage 2019-07-08 09:07:28 +02:00