Commit Graph

70 Commits

Author SHA1 Message Date
1b220d0d1c WIP 2025-09-15 10:28:17 -04:00
ec2ad27e33 Add explanatory comments 2025-09-15 00:07:44 -04:00
fac6b8de88 Add test that shows parsing issue
It's meant to show the pipelining issue. I guess we'll solve the
newly-discovered parsing issue first.
2025-09-14 22:24:02 -04:00
632113f792 Add test for pipeline request parsing bug 2025-09-14 20:53:19 -04:00
f62770c4ab Add copying utility methods to Arena 2025-09-14 20:38:54 -04:00
147edf5c93 More cleanup 2025-09-14 20:27:14 -04:00
16c7ee0408 Separate Connection and Request lifetimes 2025-09-14 15:04:37 -04:00
cf0c1b7cc2 Add echo test for server 2025-09-14 12:56:22 -04:00
bd06798fd3 Remove test_http_handler and test_server_connection_return 2025-09-14 11:38:43 -04:00
e96a493835 Remove release_back_to_server 2025-09-14 09:03:05 -04:00
e887906da8 Remove some unused/indirectly used headers 2025-09-13 17:25:46 -04:00
de6f38694f std::unique_ptr<Connection> -> Ref<Connection> 2025-09-13 17:25:46 -04:00
cd2e15677a Remove epoll instances config 2025-09-12 18:05:07 -04:00
2b8f095d27 Fix minor issues 2025-09-12 12:13:50 -04:00
543447971f Fix polymorphic WeakRef bug 2025-09-12 12:08:46 -04:00
f89868058a Require explicit copies for Ref/WeakRef 2025-09-12 11:59:56 -04:00
9d48caca76 add end-of-file-fixer 2025-09-12 11:21:00 -04:00
a2da7fba84 Explicitly support having a WeakRef to self 2025-09-11 14:54:42 -04:00
5d932bf36c Add polymorphism support to Ref 2025-09-11 14:15:52 -04:00
994e31032f Fix data race in freeing control block 2025-09-11 11:32:59 -04:00
b9106a0d3c Add test_reference.cpp 2025-09-10 22:05:31 -04:00
f56ed2bfbe Rename ArenaAllocator -> Arena 2025-09-05 17:57:04 -04:00
72481be46d Consolidate into two static libs - one with assertions and one without 2025-09-05 11:22:04 -04:00
d04705624a Handle percent encoding 2025-09-04 20:47:58 -04:00
2278694f4f Separate out api url parser 2025-09-04 16:39:19 -04:00
0583a63649 WIP separate phases. Passes but has a memory leak 2025-09-02 17:51:41 -04:00
7006012aeb Fix stack-use-after-scope 2025-09-02 13:01:02 -04:00
3d573694c4 Add ArenaAllocator::Ptr 2025-09-02 12:13:00 -04:00
8326c67b9c Deterministic render ordering 2025-08-31 22:55:01 -04:00
dcf8af6d43 Add test demonstrating thread destruction bug 2025-08-30 15:45:44 -04:00
a5776004de Update potential misunderstanding about thread safety 2025-08-29 14:08:41 -04:00
62b37c067c Metrics implementation, WIP 2025-08-29 13:43:03 -04:00
bc0d5a7422 Add format utility 2025-08-28 14:01:43 -04:00
6dbf29d1e1 StaticThreadPipeline 2025-08-26 15:13:16 -04:00
ee721c7753 Use snake_case for Connection etc methods 2025-08-24 16:21:01 -04:00
772797155b Add on_write_buffer_drained 2025-08-23 22:39:14 -04:00
94f78ebbe7 Use signed in a bunch of places 2025-08-23 20:52:40 -04:00
a2e1fd5ba1 Use include <cstring> and std::memcpy etc 2025-08-23 20:24:50 -04:00
18a1b30d9f Fix EINTR handling for close 2025-08-23 20:14:24 -04:00
a820efa2e6 Fix EINTR handling 2025-08-23 17:32:37 -04:00
8012e7ed60 Prefer testing through public APIs 2025-08-23 06:19:29 -04:00
9eafae457b ThreadPipeline.h -> thread_pipeline.hpp 2025-08-22 18:08:22 -04:00
1a85e91113 Add test for releasing connections back to the server 2025-08-22 13:10:26 -04:00
5e8fe590c1 Move activeConnections to Server 2025-08-21 21:55:19 -04:00
d1b1e6d589 Connection registry
Now we can use leak sanitizer. Yay!
2025-08-21 18:09:36 -04:00
cf692e71ef Perfetto tracing for /ok. Header parsing not complete 2025-08-20 12:19:20 -04:00
b8d735f074 Initial http implementation 2025-08-19 17:20:18 -04:00
f4cbfc0c4f Abort instead of calling std::bad_alloc 2025-08-18 11:04:45 -04:00
b5cb4d2a81 Reorganize
Test-only code to tests
Rename interface to CommitRequestParser
2025-08-18 06:38:18 -04:00
34b5de1744 Use reference parser for tests 2025-08-18 06:27:24 -04:00