Commit Graph

23 Commits

Author SHA1 Message Date
674ff581e7 Update comments/docs to match code 2025-09-12 11:40:38 -04:00
0561d951d4 Finish std::shared_ptr -> Ref migration 2025-09-11 15:06:04 -04:00
962a010724 Simplify process_connection_writes condition
And comment explaining that we there's something more precise but more
complex available.
2025-09-10 16:45:04 -04:00
f56ed2bfbe Rename ArenaAllocator -> Arena 2025-09-05 17:57:04 -04:00
96aae52853 Basic implementation of /commit, /version, and /status
No precondition checking, persistence, or log scanning yet.
2025-09-04 15:40:17 -04:00
6fb57619c5 Remove inaccurate "zero-{copy,allocation}" claims 2025-08-28 13:40:05 -04:00
ee721c7753 Use snake_case for Connection etc methods 2025-08-24 16:21:01 -04:00
e56cf41a01 Maintain outgoing bytes queued count 2025-08-24 11:04:26 -04:00
3712622d11 Many style updates around asserts, aborts, and errors 2025-08-23 13:23:40 -04:00
4af5e0423e Always use struct 2025-08-23 06:13:27 -04:00
815e6c065a Minor tidying and cleanup 2025-08-22 13:36:17 -04:00
1a85e91113 Add test for releasing connections back to the server 2025-08-22 13:10:26 -04:00
ba3258ab16 Fix some issues with transferring conn back to server 2025-08-22 10:51:24 -04:00
5e8fe590c1 Move activeConnections to Server 2025-08-21 21:55:19 -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
b7282a2f03 Add thread safety documentation 2025-08-19 17:20:36 -04:00
450bf6dbf1 Add Connection::reset
There was an issue where the connection deque was referring to old arena memory
2025-08-19 16:03:33 -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
0d688d9ce9 Optionally skip copying into connection arena for appendMessage 2025-08-19 13:44:16 -04:00
cb322bbb2b Separate Connection, ConnectionHandler, Server 2025-08-19 13:23:18 -04:00