Commit Graph
236 Commits
Author SHA1 Message Date
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
Alex Hultman d18b45bf9e Quick "fix" using static_assert 2019-06-22 13:11:29 +02:00
Alex Hultman cb8231fcc2 Fix integer overflow for now 2019-06-22 13:05:45 +02:00
Alex Hultman e6908aeec2 Re-enable experimental pub/sub support 2019-06-20 20:37:20 +02:00
BotoXandAlex Hultman 8cd13833d9 Fix multithreaded loop clean-up, fixes #888 (#902)
* Fix multithreaded loop clean-up, fixes #888

* Style fixes
2019-06-18 22:21:30 +02:00
Alex Hultman c102034870 Add MockedEchoServer fuzz target, fix App capture of moving this 2019-06-16 12:53:19 +02:00
Richard HozákandAlex Hultman a2f96d46f9 Clarify getHeader argument meaning (#906) 2019-06-14 10:15:02 +02:00
Alex HultmanandGitHub a87df76f91 Update HttpParser.h 2019-06-13 21:20:22 +02:00
Alex Hultman 2714ffe8d6 Upgrade to uSockets 0.2.0a1 (experimental) 2019-06-11 19:16:46 +02:00
Alex Hultman 5098ec279f Compile uSocketsMock as C 2019-06-10 01:19:18 +02:00
Alex Hultman 5e787b19b3 Make all examples compile with GCC on Ubuntu 2019-06-09 09:32:55 +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 HultmanandGitHub 3b36ea3a45 Strip ? from getQuery 2019-05-23 13:46:38 +02:00
Alex Hultman ba5f656041 Don't pass zero length host as host, update uS 2019-04-17 22:07:55 +02:00
Mike SeeseandAlex Hultman caeaade092 Add functions to accept listening options (#879) 2019-04-17 20:38:25 +02:00
Alex Hultman 31574ec63a Actually make it build, fix simple warning 2019-04-16 17:13:10 +02:00
Alex Hultman 799fe89a9b Add experimental HttpResponse::cork 2019-04-16 16:59:28 +02:00
Alex Hultman c1ea38ae10 Quick-fix GCC build 2019-04-16 14:33:38 +02:00
Alex Hultman 7ea680e187 Fix misaligned websocket reads 2019-04-15 22:15:45 +02:00
Alex Hultman b36607dac6 Guarantee to end http parsing after websocket upgrade 2019-04-04 00:21:27 +02:00
Alex Hultman 5dd1932f5f Salvage fallback buffer from burning house 2019-04-03 03:30:21 +02:00
Alex Hultman d4bf6346df Guarantee SSO is not applicable to fallback buffer 2019-04-03 03:17:02 +02:00
Alex Hultman cd00bfc779 Fuzz Http in chunks 2019-04-03 02:59:24 +02:00
Alex Hultman 0e0d796cfd Also fuzz the extensions negotiator 2019-03-13 16:59:04 +01:00
Alex Hultman a9c9dd4a7d Fix wildcard routing precedence bug, fuzz router 2019-03-13 11:01:23 +01:00
Alex Hultman 9d6d4d5c99 Don't include method/url in header iteration 2019-03-10 13:34:41 +01:00