Commit Graph

49 Commits

Author SHA1 Message Date
Alex Hultman fe553742f2 Fix last warnings, SocketContextOptions, BloomFilter 2020-12-01 05:45:53 +01:00
Alex Hultman a8b33acf7b Fix Http regression from warnings fix 2020-12-01 04:37:43 +01:00
Alex Hultman ad1d6fac08 Fix -Wunused-parameter 2020-12-01 01:10:00 +01:00
Alex Hultman ad0a961430 Experimental: Fix all signed/unsigned warnings 2020-11-30 23:00:36 +01:00
Alex Hultman a1445d9459 Add QueryParser.h for decoding URI queries by key 2020-09-28 12:15:01 +02:00
Alex Hultman dd0f220040 Add comment regarding BloomFilter 2020-08-06 17:37:00 +02:00
Alex Hultman 2a791726c2 Bloom filter has to be reset 2020-08-06 17:12:16 +02:00
Alex Hultman 025415d1a0 Clean-ups, bump copyright date 2020-06-08 13:31:06 +02:00
Alex Hultman 0d9cb39db6 Silence warnings, check length 2020-06-06 20:26:59 +02:00
Alex Hultman d5782fdb9c addressAsText, getRemoteProxiedAddress 2020-06-06 19:52:28 +02:00
Alex Hultman 2538cd18e9 Add WITH_PROXY flag 2020-06-06 12:59:40 +02:00
Alex Hultman e70bbb4fb6 Add basic proxy parser 2020-06-05 19:23:15 +02:00
Alex Hultman c7ac8c7e56 Store headers in bloom filter, respond to 100-continue 2020-04-06 02:48:11 +02:00
Alex Hultman f274d63dca Fix all -Wconversion warnings 2019-12-28 21:44:54 +01:00
Alex Hultman bdac60a177 Fix a few warnings 2019-12-26 16:45:23 +01:00
Richard Hozák a2f96d46f9 Clarify getHeader argument meaning (#906) 2019-06-14 10:15:02 +02:00
Alex Hultman a87df76f91 Update HttpParser.h 2019-06-13 21:20:22 +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 Hultman 3b36ea3a45 Strip ? from getQuery 2019-05-23 13:46:38 +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 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 Hultman a8184c3844 Fix fuzzing 2019-03-09 14:08:15 +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 e653e9d314 Make HttpParser only handle move-only functions 2019-01-23 12:31:25 +01:00
Alex Hultman 9829f7fb37 Add concept of route yielding 2019-01-22 18:30:25 +01:00
Alex Hultman 2caefa9d96 We need HttpResponse::hasResponded 2019-01-18 16:36:24 +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 47467ab1e5 Pass "last" bool to res->onData 2019-01-07 03:05:19 +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 ab6abaf2e6 Apache License 2.0 2018-10-29 00:13:52 +01:00
Alex Hultman 8cfda9f4b0 Handle socket closing, shutdown, error & (upgrade) in HTTP handlers 2018-10-17 22:23:25 +02:00
Alex Hultman 5e5d0de0e9 Hook up req->getParameter 2018-10-05 00:10:43 +02:00
Alex Hultman 7d06bef485 Fix up router, add .post route 2018-10-03 19:36:46 +02:00
Alex Hultman 883bdfe7d7 Some clean-ups 2018-09-15 05:31:42 +02:00
Alex Hultman eee6e97fda Move files around 2018-09-15 05:04:34 +02:00
Alex Hultman 18c9fe0911 I forgot what I did 2018-09-02 21:10:01 +02:00
Alex Hultman ffdfc8274f Hook up WebSocket parsers somewhat 2018-08-30 01:14:34 +02:00
Alex Hultman 7c393c90c3 Fix URL query separation 2018-08-30 00:27:23 +02:00
Alex Hultman aac0eee30a Move things & make them private 2018-07-02 21:17:28 +02:00
Alex Hultman 06381565d7 A little bit of clean-ups HTTP wise 2018-07-02 21:07:15 +02:00
Alex Hultman b265e43ec9 Add randomly chunked HTTP parsing stress test, fix bugs 2018-07-02 19:58:42 +02:00
Alex Hultman cbe3d3375d Add Tests.h with benchmarks 2018-06-30 00:42:03 +02:00
Alex Hultman 999ae69bed Move HttpParser into own module 2018-06-30 00:17:31 +02:00