Commit Graph
100 Commits
Author SHA1 Message Date
Alex Hultman d5ec941fd8 Move http error pages to separate file 2023-05-28 11:51:51 +02:00
Alex Hultman d1da7cc248 Nicer error pages 2023-05-28 11:47:33 +02:00
Alex Hultman e50dc4d506 We need a name to tell it's us 2023-05-28 11:08:33 +02:00
Alex Hultman 4c99ef1fc8 Update http test 2023-05-28 10:21:39 +02:00
Alex Hultman 4659b2d46e No, no, no don't bump uSockets 2023-05-28 10:17:48 +02:00
Alex Hultman 919a3bbeba Add http errors 2023-05-28 10:12:50 +02:00
Alex Hultman 7999d09286 Restore PROXY v2 support 2023-05-28 06:37:52 +02:00
Alex Hultman 46a3ef29ae Bump uS 2023-05-19 19:07:05 +02:00
Alex Hultman ba6ff7b7f4 Sometimes I cannot think properly 2023-05-11 13:08:22 +02:00
Alex Hultman 62b5feb540 We need uncorkWithoutSending 2023-05-11 12:48:12 +02:00
Alex Hultman 20e7c5aaf0 Properly uncork on large message backpressure 2023-05-11 12:33:07 +02:00
Alex Hultman d832d48ea5 Do not build EchoServer with SSL 2023-05-11 11:34:21 +02:00
Alex Hultman 023fbc6c3f Don't compress in EchoServer if large message 2023-05-11 11:25:29 +02:00
Alex Hultman f6f5a3d6e8 Add large non-ssl, non-compressed WebSocket message sending optimization 2023-05-11 11:18:58 +02:00
Alex Hultman c9724db3cf Make load_test take any byte length for payload size 2023-05-07 07:11:54 +02:00
Alex Hultman d05c1a1c60 Add autobahn on github actions 2023-05-07 05:59:47 +02:00
Alex Hultman abb22793ff Bunch 'o experimental changes 2023-05-07 01:28:07 +02:00
Alex Hultman 6f7d8657a4 Add more query tests 2023-04-30 23:21:45 +02:00
Alex Hultman c3fa05b814 Queries must have = 2023-04-30 23:18:14 +02:00
Alex Hultman a658d1616a Accept zero length queries 2023-04-30 22:30:06 +02:00
Alex Hultman e5b1d3f83c Fix another HTTP async cork bug 2023-04-21 19:20:44 +02:00
Alex Hultman bfbcb23b68 Loop::defer is not guaranteed to be called in fuzzing 2023-04-19 14:59:55 +02:00
Alex Hultman dc93838ca9 Add new fuzz target for async responses 2023-04-16 20:51:22 +02:00
Alex Hultman 3aae41687c Fix crc32 code warning 2023-04-15 22:39:10 +02:00
Alex Hultman c5de72c9be Fix async upgrade inside cork 2023-04-15 22:14:23 +02:00
Alex Hultman 53ae0a889f Silence some warnings 2023-01-16 06:08:09 +01:00
Alex Hultman 46c8aebc0e Proper cast 2023-01-08 23:43:44 +01:00
Alex Hultman 988fdc7285 Move boringssl version 2022-12-28 16:27:37 +01:00
Alex Hultman a703f6c493 Working app.close 2022-12-28 07:09:17 +01:00
Alex Hultman c603228a69 App.closeSockets 2022-12-28 05:38:34 +01:00
Alex Hultman 66ec193fd0 Add a message 2022-12-27 19:31:11 +01:00
Alex Hultman 77b122fd65 Bump uSockets, getting long per socket timers 2022-12-27 19:13:57 +01:00
Alex Hultman 1f78a3d768 Change timing constraints 2022-12-27 18:03:19 +01:00
Alex Hultman b647f20a6d maxLifetime impl. WIP, waiting for uSockets bump 2022-12-27 15:17:07 +01:00
Alex Hultman 27d93c8d0c Emit new 'subscription' events 2022-12-24 12:32:17 +01:00
Alex Hultman 526a9ad6cd Fix recent build 2022-11-30 22:21:25 +01:00
Alex Hultman ca8d620268 Add some initial client stuff 2022-11-26 07:36:01 +01:00
Alex Hultman c8229b5781 Don't use strftime 2022-11-26 05:56:26 +01:00
Alex Hultman 8a57fd06bd Add cifuzz 2022-11-21 03:24:24 +01:00
Alex Hultman 7a363a8b10 Revert "closeOnBackpressure should block all further sending"
This reverts commit d4ffeadd88.
2022-11-06 06:23:44 +01:00
Alex Hultman d4ffeadd88 closeOnBackpressure should block all further sending 2022-11-06 06:21:44 +01:00
Alex Hultman 43a1f307a0 Add subscription event (placeholder) 2022-11-06 05:51:51 +01:00
Alex Hultman 5919290fe3 More strict handling of connection: close 2022-11-06 03:13:32 +01:00
Alex Hultman 654b4558a4 Fix recent UB 2022-11-04 17:04:19 +01:00
Alex Hultman 378b8de9d8 No deps. Windows nmake build 2022-11-04 10:56:10 +01:00
Alex Hultman 701f77476f New shim for nmake (WIP) 2022-11-04 07:35:17 +01:00
Alex Hultman 79bd64b4c8 New C-based make by default 2022-11-04 07:28:27 +01:00
Alex Hultman 9f0fe16842 That's already working pretty fine 2022-11-02 09:26:17 +01:00
Alex Hultman 00f4285baf Ported most of Makefile logic over 2022-11-02 09:05:03 +01:00
Alex Hultman e1708b85a5 Build and run tests on Windows via Clang/Makefile 2022-11-02 06:38:14 +01:00
Alex Hultman 9a82a52f2c Bump uSockets 2022-11-02 04:21:48 +01:00
Alex Hultman 2a2c3ecb45 Run unit and smoke tests on all platforms 2022-11-01 06:08:10 +01:00
Alex Hultman 12e217d9e3 Fix whitespace trimming test failure 2022-11-01 06:05:42 +01:00
Alex Hultman 4109771890 Filter should be builder pattern 2022-11-01 06:01:20 +01:00
Alex Hultman 61233bf5a2 Run smoketests in CI? 2022-11-01 05:36:08 +01:00
Alex Hultman 7eea6f69ee Add initial smoke test for Deno, Node.js, Bun and similar "browsers" 2022-11-01 05:29:13 +01:00
Alex Hultman c1fb1d5070 Fix header parsing 2022-11-01 00:38:51 +01:00
Alex Hultman ea7ac520f3 Fix bloom filter warnings, simplify 2022-10-31 22:47:36 +01:00
Alex Hultman 399204dbae Reject chunk size overflow, non-hex chunk size 2022-10-31 18:58:01 +01:00
Alex Hultman 3cfad3584b Take a-f, A-F 2022-10-31 18:10:16 +01:00
Alex Hultman 75aece1e55 Fix proxy build 2022-10-31 17:50:01 +01:00
Alex Hultman 7af11b1942 Pass router test with upper cased methods 2022-10-31 03:57:34 +01:00
Alex Hultman 2b850f76d3 Case sensitive method, trim trailing whitespace (correctly), host header may be empty 2022-10-31 03:47:08 +01:00
Alex Hultman cca4610d5d Make it actually work 2022-10-30 21:36:34 +01:00
Alex Hultman 0b590c923e Minor fixup for request line 2022-10-24 20:25:56 +02:00
Alex Hultman f0586366da Take some from jarred 2022-10-23 03:41:03 +02:00
Alex Hultman f762ede7d1 Do not support HTTP/1.0 2022-10-23 02:10:32 +02:00
Alex Hultman c1fd0e4050 Be strict with content-length, use fullptr as error 2022-10-23 01:42:32 +02:00
Alex Hultman 05523997db The rules are way simpler than so 2022-10-22 23:35:58 +02:00
Alex Hultman d18deb8fe3 Be more strict with content-length, transfer-encoding 2022-10-22 00:43:58 +02:00
Alex Hultman 7cdb1f7224 Do not expect a trailer after chunked body 2022-10-18 16:55:22 +02:00
Alex Hultman 6cb37f9b00 Require explicit transfer-encoding: chunked for said parsing to begin 2022-10-17 21:34:55 +02:00
Alex Hultman bcf5034e3c Write Date header in all responses 2022-10-16 12:37:21 +02:00
Alex Hultman 45e9ca2372 Bump uSockets 2022-10-11 09:45:57 +02:00
Alex Hultman d8df12f336 Pass host along listen to h3 2022-10-11 09:16:23 +02:00
Alex Hultman 48b83ec9ff Pass listen port along to h3 2022-10-11 09:11:09 +02:00
Alex Hultman e64069966a Bump uSockets 2022-10-11 08:56:49 +02:00
Alex Hultman b2d9356daa Bump uSockets 2022-10-10 16:33:12 +02:00
Alex Hultman f8a01db5ad Bump uSockets 2022-10-10 16:07:40 +02:00
Alex Hultman 23698465e8 Bump uSockets 2022-10-10 15:59:02 +02:00
Alex Hultman 78a1801830 Bump uSockets 2022-10-10 15:11:57 +02:00
Alex Hultman 70a84c93be Bump uSockets 2022-10-10 12:37:21 +02:00
Alex Hultman 9428c55053 Use new chunked encoding parser 2022-10-08 08:16:55 +02:00
Alex Hultman 9437b0e4e8 Add Crc32 hashing example 2022-10-08 08:09:35 +02:00
Alex Hultman 526d5d8bb9 Mother of god; do not require C++20 2022-10-08 06:18:29 +02:00
Alex Hultman 221509f11d Add isParsingChunkedEncoding helper 2022-10-08 06:15:20 +02:00
Alex Hultman 532d70041d Fix that chunk bug 2022-10-08 06:10:44 +02:00
Alex Hultman c5a53782bc Make the chunk parser stop after trailer, trigger next bug to fix 2022-10-08 05:35:02 +02:00
Alex Hultman e4e04940c5 Greatly improved chunk-encoded parser and test 2022-10-08 04:32:59 +02:00
Alex Hultman 5062696f63 Barely make it parse trailers 2022-10-07 13:50:27 +02:00
Alex Hultman a21446176d Add new ChunkedEncoding parser and test 2022-10-07 12:47:29 +02:00
Alex Hultman eca96bbc74 Support chunked transfer-encoding in fast path 2022-10-07 03:49:22 +02:00
Alex Hultman 66cd7c6b9b Removable http routes 2022-10-06 05:47:06 +02:00
Alex Hultman 6be58309b8 addServerName should do nothing in non-SSL 2022-10-03 19:14:42 +02:00
Alex Hultman 3a53ada17d Experimental parser optimizations 2022-10-03 01:16:40 +02:00
Alex Hultman 09a7b2f093 Two missing functions in Http3Response 2022-09-28 03:43:30 +02:00
Alex Hultman 47ea36b8b9 Whoops forgot that one 2022-09-28 03:35:15 +02:00
Alex Hultman c8982fdde0 Bunch of Http3Response impl. 2022-09-28 03:32:24 +02:00
Alex Hultman b1b931edfc Add per-SNI HttpRouter support (initial) 2022-09-26 00:22:30 +02:00
Alex Hultman c77cae4635 Require 16kb/sec HTTP upload throughput or drop the uploader 2022-09-25 15:48:00 +02:00