feat: add TCP_NODELAY socket optimization and upstream handling with connection caching tests

This commit is contained in:
2025-12-15 00:31:27 +00:00
parent 9e7c5940dc
commit 353e6b08b6
3 changed files with 154 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ void connection_cleanup_idle(void);
int connection_set_non_blocking(int fd);
void connection_set_tcp_keepalive(int fd);
void connection_set_tcp_nodelay(int fd);
void connection_optimize_socket(int fd, int is_upstream);
void connection_add_to_epoll(int fd, uint32_t events);
void connection_modify_epoll(int fd, uint32_t events);