Separate Connection and Request lifetimes
This commit is contained in:
@@ -148,6 +148,8 @@ private:
|
||||
void process_connection_reads(Ref<Connection> &conn_ptr, int events);
|
||||
void process_connection_writes(Ref<Connection> &conn_ptr, int events);
|
||||
|
||||
void close_connection(Ref<Connection> &conn);
|
||||
|
||||
// Helper for processing a batch of connections with their events
|
||||
void process_connection_batch(int epollfd, std::span<Ref<Connection>> batch,
|
||||
std::span<const int> events);
|
||||
|
||||
Reference in New Issue
Block a user