Commit Graph
42 Commits
Author SHA1 Message Date
Alex Hultman b36607dac6 Guarantee to end http parsing after websocket upgrade 2019-04-04 00:21:27 +02:00
Alex Hultman 495ccfc076 Update uS, add AsyncSocket::getRemoteAddress() 2019-03-03 07:40:44 +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 f1bdbc968b First pass of overall cleanups 2019-02-10 00:17:13 +01:00
Alex Hultman 5528e6f5fe Fix Http timeout regarding .end with backpressure 2019-01-31 18:01:19 +01:00
Alex Hultman 359873f4ea Fix up Http pipelining check 2019-01-29 16:18:08 +01:00
Alex Hultman d331ec3e45 Refactor using new uSockets API 2019-01-25 14:15:40 +01:00
Alex Hultman 02a6271980 Make all http routes move-only 2019-01-23 12:09:19 +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 87aea5a28c Don't emit multiple parallel requests 2019-01-22 09:28:03 +01: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 2a62218d2a Disable onWritable debug prints 2019-01-17 06:51:35 +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
Alex Hultman 4407beedf7 Make sure to reset upgradedWebSocket each time 2018-12-30 13:56:04 +01:00
Alex Hultman d597041ca4 Don't leave content-length on empty response 2018-12-29 14:27:50 +01:00
Alex Hultman 7c3585afee Use us_socket_is_closed, fix non-SSL/Windows build 2018-12-19 09:22:05 +01:00
Alex Hultman 1613c5020d Initial WebSocket hook up 2018-10-29 23:06:32 +01:00
Alex Hultman ab6abaf2e6 Apache License 2.0 2018-10-29 00:13:52 +01:00
Alex Hultman 4059dd644c Abort logic fixes 2018-10-28 02:08:01 +01:00
Alex Hultman 99d73a9d65 Timeout and drainage logic 2018-10-28 02:47:56 +02:00
Alex Hultman 8cfda9f4b0 Handle socket closing, shutdown, error & (upgrade) in HTTP handlers 2018-10-17 22:23:25 +02:00
Alex Hultman 8105c65fa6 Add all HTTP methods 2018-10-16 23:55:25 +02:00
Alex Hultman bb77fac1fc Add some benchmarking comments 2018-10-16 23:16:46 +02:00
Alex Hultman 5e5d0de0e9 Hook up req->getParameter 2018-10-05 00:10:43 +02:00
Alex Hultman be0eb69597 Fix the router (todo: req->getParameter hook up) 2018-10-04 04:05:43 +02:00
Alex Hultman 7d06bef485 Fix up router, add .post route 2018-10-03 19:36:46 +02:00
Alex Hultman d4ca158495 Add .unhandled route 2018-10-03 18:35:20 +02:00
Alex Hultman 5a1de2039c Fix up async file streaming 2018-09-29 19:42:35 +02:00
Alex Hultman 2c511ec904 More work on new streams 2018-09-27 23:44:46 +02:00
Alex Hultman 49f503c570 Reopen closed file fixes binary diffs 2018-09-23 23:52:12 +02:00
Alex Hultman 8106a0f628 Loop::defer and almost working async streaming 2018-09-23 21:48:29 +02:00
Alex Hultman 2fb87b67c7 Begin work on AsyncFileReader demo 2018-09-23 20:32:47 +02:00
Alex Hultman 7f3753e9db Various comments and fixes 2018-09-23 18:00:18 +02:00
Alex Hultman 932b0b8944 Begin work on new streams API 2018-09-20 21:51:54 +02:00
Alex Hultman 6fadfabec1 Add convenience wrapper App (again) 2018-09-15 23:56:30 +02:00
Alex Hultman eee6e97fda Move files around 2018-09-15 05:04:34 +02:00