Commit Graph

20 Commits

Author SHA1 Message Date
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
093e618b98 I'm not interested in EPOLLRDHUP 2025-08-21 13:01:42 -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
60cda698c0 Don't copy every byte read into arena 2025-08-20 15:21:15 -04:00
e342229743 Try to write immediately after reading 2025-08-20 14:43:01 -04:00
8ccb02f450 We don't want to close the connection on EPOLLRDHUP
We'll rely on the errors from reads and writes to close the connections
2025-08-20 14:09:39 -04:00
4044f0a871 Add unix socket listening mode 2025-08-19 17:57:07 -04:00
b7282a2f03 Add thread safety documentation 2025-08-19 17:20:36 -04:00
6b7cc74a7c Add ConnectionHandler::on_post_batch 2025-08-19 15:28:17 -04:00
ecfb7f3307 Add on_write_progress 2025-08-19 14:23:17 -04:00
455ab749a6 Remove ProcessResult 2025-08-19 13:41:26 -04:00
cb322bbb2b Separate Connection, ConnectionHandler, Server 2025-08-19 13:23:18 -04:00