Commit Graph
198 Commits
Author SHA1 Message Date
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
Alex Hultman 0212ee5bd0 Allow iteration over headers 2019-03-10 12:43:31 +01:00
Alex HultmanandGitHub 1680046963 Fix upgrade handshake 2019-03-10 05:14:16 +01:00
Alex Hultman a8184c3844 Fix fuzzing 2019-03-09 14:08:15 +01:00
Alex Hultman 495ccfc076 Update uS, add AsyncSocket::getRemoteAddress() 2019-03-03 07:40:44 +01:00
Alex Hultman 35e6bad33b Tweak Loop::get for "default" loops 2019-03-02 04:36:06 +01:00
Alex Hultman b1de3a5135 Refactor Loop::defaultLoop() to Loop::get(), never use "default loops". 2019-03-02 03:04:07 +01:00
Alex Hultman 4fd895c8e7 Add HelloWorldThreaded and (actually) fix race 2019-03-01 18:00:14 +01:00
Alex Hultman 940980f501 Fix race in defaultLoop 2019-03-01 16:14:53 +01:00
Alex Hultman 2afe6a6efb Only set sec-websocket-extensions if we have an offer 2019-03-01 15:43:20 +01:00
Alex Hultman 4db0cd5527 What about making it compile 2019-02-21 14:05:15 +01:00
Alex Hultman 73ddb42a9e Timeout clients sending http body data too slow 2019-02-21 13:59:42 +01:00
Alex Hultman 588d6558e7 Emit isLast onData cb if we have no data 2019-02-21 13:51:40 +01:00
Alex Hultman b6173d68b4 Expose constructorFailed 2019-02-10 12:37:56 +01:00
Alex Hultman 02f20bf030 Add listen(host, port, callback) 2019-02-10 11:18:53 +01:00
Alex Hultman 399318f866 Disable TopicTree for now 2019-02-10 02:11:11 +01:00
Alex Hultman 3e4e70da20 Make it compile 2019-02-10 01:22:24 +01: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 cfac783cd9 Smaller TopicTree changes 2019-02-09 23:47:34 +01:00
Alex Hultman b5939da595 Refuse to compile if alignment of user data cannot be satisfied 2019-02-09 23:39:52 +01:00
Alex Hultman 127d3d6a14 res.tryEnd returns [ok, hasResponded] 2019-02-09 23:31:04 +01:00
Alex Hultman 3a41bb8e34 Fix up WebSocketExtensions.h as proper header 2019-02-09 23:26:08 +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 HultmanandGitHub e59ae7fd72 Add LICENSE.txt to src/f2 2019-02-06 23:11:26 +01:00
Alex Hultman 0709ec05a6 Even zero is a valid content-length 2019-02-04 00:39:45 +01:00
Alex Hultman 5528e6f5fe Fix Http timeout regarding .end with backpressure 2019-01-31 18:01:19 +01:00
Alex Hultman eaa9467d1f Don't write mark in the middle of streaming 2019-01-29 17:15:06 +01:00
Alex Hultman 359873f4ea Fix up Http pipelining check 2019-01-29 16:18:08 +01:00
Alex Hultman 7b87460c57 HttpResponseData has to be convertible to AsyncSocketData 2019-01-29 16:11:42 +01:00
Alex Hultman d4e767ac65 Shorten mark footprint 2019-01-26 22:08:41 +01:00
Alex Hultman 4d06180041 Move mark from WebSockets down to HTTP 2019-01-26 21:55:24 +01:00
Alex Hultman 92fb74b7e9 Remove last debug prints 2019-01-26 19:02: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 ba10536f50 Introduce WebSocket::terminate (todo: rename to close) 2019-01-26 17:13:47 +01:00
Alex Hultman 80322a5af7 Never parse messages while in shutdown 2019-01-26 14:31:37 +01:00