Commit Graph

24 Commits

Author SHA1 Message Date
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
e96a493835 Remove release_back_to_server 2025-09-14 09:03:05 -04:00
de6f38694f std::unique_ptr<Connection> -> Ref<Connection> 2025-09-13 17:25:46 -04:00
0561d951d4 Finish std::shared_ptr -> Ref migration 2025-09-11 15:06:04 -04:00
5d932bf36c Add polymorphism support to Ref 2025-09-11 14:15:52 -04:00
ee721c7753 Use snake_case for Connection etc methods 2025-08-24 16:21:01 -04:00
2754f4cbe2 Avoid exceptions 2025-08-23 12:56:28 -04:00
4af5e0423e Always use struct 2025-08-23 06:13:27 -04:00
12d4289568 Add an index to thread pipeline iterators for load balancing 2025-08-22 16:32:48 -04:00
f43e623a7e Add one stage pipeline to /ok 2025-08-22 14:28:17 -04:00
815e6c065a Minor tidying and cleanup 2025-08-22 13:36:17 -04:00
0e63d5e80f Have Server take list of listen fds and add createLocalConnection 2025-08-22 12:01:00 -04:00
ba3258ab16 Fix some issues with transferring conn back to server 2025-08-22 10:51:24 -04:00
1d86f48d5e Stash fd in epoll_event instead of pointer in server 2025-08-21 22:12:13 -04:00
5e8fe590c1 Move activeConnections to Server 2025-08-21 21:55:19 -04:00
9ee23fdc46 Simplify connection registry 2025-08-21 19:53:18 -04:00
d1b1e6d589 Connection registry
Now we can use leak sanitizer. Yay!
2025-08-21 18:09:36 -04:00
1cce8d9950 Allow multiple epoll instances on server 2025-08-21 14:13:11 -04:00
c6ceb8745d Fix type confusion 2025-08-21 12:01:40 -04:00
cfddaddb31 Separate phases for processing existing and new connections 2025-08-21 11:58:10 -04:00
130ff2062a Unify accept and network threads into io threads 2025-08-20 16:50:54 -04:00
7e28e6503d Probably going to merge accept and network threads 2025-08-20 16:24:09 -04:00
cb322bbb2b Separate Connection, ConnectionHandler, Server 2025-08-19 13:23:18 -04:00