Commit Graph

48 Commits

Author SHA1 Message Date
1fa3381e4b Use send/sendmsg and don't ignore SIGPIPE 2025-09-13 17:25:20 -04:00
cd2e15677a Remove epoll instances config 2025-09-12 18:05:07 -04:00
5d932bf36c Add polymorphism support to Ref 2025-09-11 14:15:52 -04:00
e67e4aee17 Update /ok to serve dual health check/benchmarking role 2025-09-05 12:39:10 -04:00
46edb7cd26 Allow listening on multiple interfaces 2025-09-03 16:09:16 -04:00
f0916d8269 Add process collector 2025-09-03 14:38:10 -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
2754f4cbe2 Avoid exceptions 2025-08-23 12:56:28 -04:00
f43e623a7e Add one stage pipeline to /ok 2025-08-22 14:28:17 -04:00
0e63d5e80f Have Server take list of listen fds and add createLocalConnection 2025-08-22 12:01:00 -04:00
5e8fe590c1 Move activeConnections to Server 2025-08-21 21:55:19 -04:00
c00d5c576b Followup updates for new epoll_instances design 2025-08-21 14:20:01 -04:00
130ff2062a Unify accept and network threads into io threads 2025-08-20 16:50:54 -04:00
cf692e71ef Perfetto tracing for /ok. Header parsing not complete 2025-08-20 12:19:20 -04:00
4044f0a871 Add unix socket listening mode 2025-08-19 17:57:07 -04:00
b8d735f074 Initial http implementation 2025-08-19 17:20:18 -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
addac1b0b7 Recommended epoll/tcp options 2025-08-19 12:27:03 -04:00
499de3837a Add .clangd 2025-08-19 12:23:27 -04:00
91dcf04635 Configurable read buffer size 2025-08-19 12:20:56 -04:00
2b458747f8 Use writev 2025-08-19 12:04:13 -04:00
5dc800a088 Add Connection::arena 2025-08-19 11:51:44 -04:00
e704c261cb Use a pipe instead of an eventfd 2025-08-18 16:35:33 -04:00
53fce46283 Descriptive name for thread index 2025-08-18 16:01:41 -04:00
8b18c5fde9 More error handling
Handle epoll_ctl errors by closing the connection
2025-08-18 15:59:35 -04:00
141ae823ab Improve some error handling
Handle EINTR in signal handler
Handle getListenFd errors by trying the next address
2025-08-18 15:57:03 -04:00
5bc78577c6 Add safety comments 2025-08-18 15:50:50 -04:00
368ec721d5 Full pass over src/main.cpp 2025-08-18 15:43:45 -04:00
8ef118a17d Shutdown fd 2025-08-18 15:21:45 -04:00
715941c0d3 Max connection limit 2025-08-18 14:48:01 -04:00
8e00e636b7 Remove auto network thread thing 2025-08-18 14:08:30 -04:00
78e3845130 Graceful shutdown and config 2025-08-18 14:03:51 -04:00
224d2cf708 Updates for Claude 2025-08-18 13:45:04 -04:00
faaf750f87 TCP echo server 2025-08-18 13:33:58 -04:00
9e397d19c9 Make codebase consistent with design.md 2025-08-17 17:00:23 -04:00
fff7d67605 Fix naming inconsistency between code and markdown 2025-08-17 16:04:42 -04:00
519c9457cd Only pass CommitRequest to begin_streaming_parse 2025-08-17 15:32:54 -04:00
fa2a2e4427 Decouple parser from CommitRequest 2025-08-17 15:32:54 -04:00
0b9bd2e819 Use has_value instead of operator bool 2025-08-15 10:32:06 -04:00
7ca50350e7 WIP making Operation and Precondition smaller 2025-08-14 16:15:14 -04:00
ba1627ff10 Use same request for one shot and streaming examples 2025-08-14 15:03:30 -04:00
61ae8420a8 Initial attempt at parsing commit requests 2025-08-14 12:53:37 -04:00
a2eef4ce25 Add configuration from toml file 2025-08-14 10:59:10 -04:00
2106a336aa Add boilerplate 2025-08-14 10:46:08 -04:00