Commit Graph
517 Commits
Author SHA1 Message Date
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
uNetworkingABandGitHub c4d45fbf3d Silence alert 2022-12-01 19:46:05 +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 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
b6604b2996 Move TopicTreeMessage and TopicTreeBigMessage to TopicTree.h (#1510)
* Move TopicTreeMessage and TopicTreeBigMessage to TopicTree.h

* Move TopicTreeMessage and TopicTreeBigMessage to WebSocketContextData per comment

Co-authored-by: Jun Woo Shin <[email protected]>
2022-11-04 06:36:43 +01:00
uNetworkingABandGitHub 0cd9fc9947 Update LoopData.h 2022-11-02 15:01:54 +01:00
uNetworkingABandGitHub 25167386ff Update LoopData.h 2022-11-02 14:51:10 +01:00
rehansandGitHub f687c0728c Use ULL (unsigned long long) instead of UL (#1509) 2022-11-02 11:20:10 +01:00
Alex Hultman e1708b85a5 Build and run tests on Windows via Clang/Makefile 2022-11-02 06:38:14 +01:00
2daeff0390 Declare TopicTreeMessage and TopicTreeBigMessage prior to use (#1507)
Co-authored-by: Jun Woo Shin <[email protected]>
2022-11-02 04:03:37 +01:00
Alex Hultman 4109771890 Filter should be builder pattern 2022-11-01 06:01:20 +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 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
uNetworkingABandGitHub d76e2362d8 Make that correctilier 2022-10-30 21:17:43 +01:00
uNetworkingABandGitHub 1bd6807a21 Make that correct 2022-10-30 21:14:39 +01:00
uNetworkingABandGitHub fc51d2b4d6 Make that in batch 2022-10-30 21:10:01 +01:00
uNetworkingABandGitHub c613a4cb9a Only accept alnum + hypen field names 2022-10-30 20:41:24 +01:00
uNetworkingABandGitHub a730941806 Improved bloom filter 2022-10-29 06:18:17 +02:00
uNetworkingABandGitHub d174a7ed24 Update HttpParser.h 2022-10-24 22:30:50 +02:00
uNetworkingABandGitHub 8f85fadd02 Add RFC9110 reference 2022-10-24 22:25:48 +02:00
Alex Hultman 0b590c923e Minor fixup for request line 2022-10-24 20:25:56 +02:00
uNetworkingABandGitHub 368a4b41de Do not allow invalid chars in header value 2022-10-24 19:59:14 +02:00
uNetworkingABandGitHub 74dac77adb Never accept whitespace between key and colon 2022-10-24 19:02:04 +02:00
uNetworkingABandGitHub 22f0b04a1d Break if missing host header 2022-10-24 18:46:21 +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 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 9428c55053 Use new chunked encoding parser 2022-10-08 08:16:55 +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