|
|
ae0c014298
|
Don't clear write interest if pending_response_queue_ non empty
|
2025-09-15 16:35:37 -04:00 |
|
|
|
55f6ebc02b
|
Implement shutting down the write-side only
|
2025-09-15 15:39:28 -04:00 |
|
|
|
6b52c4289c
|
Prevent queueing of messages on connection after it will be closed
|
2025-09-15 15:25:40 -04:00 |
|
|
|
7ee5ca2a9b
|
Remove dead code, use proper send_ordered_response
And prepare to try to close a connection gracefully
|
2025-09-15 15:08:19 -04:00 |
|
|
|
1cb7a4c301
|
Remove has_pending_responses_
|
2025-09-15 11:10:47 -04:00 |
|
|
|
1b220d0d1c
|
WIP
|
2025-09-15 10:28:17 -04:00 |
|
|
|
eb98e51867
|
We expect to get valid fds to close in ~Connection in ~Server
|
2025-09-15 00:07:09 -04:00 |
|
|
|
1f61f91bf5
|
Reset connection state after finishing with it in http_handler
|
2025-09-14 21:16:41 -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 |
|
|
|
e96a493835
|
Remove release_back_to_server
|
2025-09-14 09:03:05 -04:00 |
|
|
|
1fa3381e4b
|
Use send/sendmsg and don't ignore SIGPIPE
|
2025-09-13 17:25:20 -04:00 |
|
|
|
0561d951d4
|
Finish std::shared_ptr -> Ref migration
|
2025-09-11 15:06:04 -04:00 |
|
|
|
5d289ddd42
|
Add metric for write EAGAIN failures
|
2025-09-10 16:48:27 -04:00 |
|
|
|
2fa5b3e960
|
Instrument connections
|
2025-09-03 13:57:23 -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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
c58a00a34f
|
Replace VLA with thread local vectors
|
2025-08-22 18:05:14 -04:00 |
|
|
|
ce7e596836
|
More cleanup
|
2025-08-22 13:52:32 -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 |
|
|
|
d1b1e6d589
|
Connection registry
Now we can use leak sanitizer. Yay!
|
2025-08-21 18:09:36 -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 |
|
|
|
b017c6b209
|
We still want to "write" empty messages
So that the size of the messages queue can go to zero
|
2025-08-19 16:04:44 -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 |
|
|
|
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 |
|
|
|
5bfa20643a
|
Update design.md
|
2025-08-19 13:33:31 -04:00 |
|
|
|
cb322bbb2b
|
Separate Connection, ConnectionHandler, Server
|
2025-08-19 13:23:18 -04:00 |
|