Commit Graph
234 Commits
Author SHA1 Message Date
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 HultmanandGitHub 418b51f007 Add note regarding route order 2019-01-30 11:56:49 +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 ca38ea1669 Port load_test to SSL/non-SSL uSockets API 2019-01-28 18:20:39 +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 HultmanandGitHub 1eaf69c566 More docs changes 2019-01-26 18:49:33 +01:00
Alex HultmanandGitHub f0352b4685 Add info on open/close guarantee 2019-01-26 18:33:46 +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
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 7bb2dc848d Add simple user manual, add links & update wording 2019-01-24 13:27:35 +01:00
Alex Hultman a0eeb769c9 Carry over backpressure from Http to WS 2019-01-24 11:53:10 +01:00
Alex Hultman e653e9d314 Make HttpParser only handle move-only functions 2019-01-23 12:31:25 +01:00
Alex Hultman 95478c906f Make Loop and LoopData only hold move-only functions 2019-01-23 12:26:33 +01:00
Alex Hultman 91925ccc37 Make all websocket handlers move-only 2019-01-23 12:19:44 +01:00
Alex Hultman 02a6271980 Make all http routes move-only 2019-01-23 12:09:19 +01:00
Alex Hultman ce286017ee Make the router use move-only functions 2019-01-23 11:51:38 +01:00
Alex Hultman 9829f7fb37 Add concept of route yielding 2019-01-22 18:30:25 +01:00
Alex Hultman ed4e9f5c45 Experimental new router 2019-01-22 18:06:25 +01:00
Alex Hultman f4065b4e3b Add simple "any" route to catch any method 2019-01-22 13:55:28 +01:00
Alex Hultman 6d469cd8ba Add some important comments of bugs in adoption 2019-01-22 13:23:40 +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 87aea5a28c Don't emit multiple parallel requests 2019-01-22 09:28:03 +01:00
Alex Hultman db98f81986 Proper move of App 2019-01-22 09:16:05 +01:00
Alex Hultman 98d329c912 Update uSockets 2019-01-21 19:07:44 +01:00
Alex Hultman 74a4048195 Align LoopData, HttpContextData 2019-01-21 08:40:21 -08:00
Alex Hultman 19aa6ec9af Implement hasResponded 2019-01-18 17:20:21 +01:00
Alex Hultman 2caefa9d96 We need HttpResponse::hasResponded 2019-01-18 16:36:24 +01:00
Alex Hultman 3c3819fe3c Implement Loop::setPreHandler 2019-01-17 09:59:55 +01:00
Alex Hultman 04281eeea6 onData as unique_function 2019-01-17 08:21:39 +01:00
Alex Hultman 2a62218d2a Disable onWritable debug prints 2019-01-17 06:51:35 +01:00
Alex Hultman 6718301ac9 Make onAborted unique_function 2019-01-17 06:30:47 +01:00
Alex Hultman 0ca061e772 Being extra clear with move 2019-01-15 08:09:50 +01:00
Alex Hultman 95cafc2c7b Try using function2 for HttpResponse::onWritable 2019-01-15 07:11:30 +01:00
Alex Hultman 8efea340e6 Add zlib to HttpServer build 2019-01-08 20:42:58 +01:00
Alex Hultman d8aeb0d312 Fix "last" onData flag of HttpParser 2019-01-08 06:34:59 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +01:00
Alex Hultman e2b2168384 Remove dead code and comments 2019-01-07 03:22:04 +01:00
Alex Hultman 47467ab1e5 Pass "last" bool to res->onData 2019-01-07 03:05:19 +01:00