From 4fdf60a4c9ce16dd459e05ad7664010ea45c43db Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 24 Feb 2021 01:04:57 +0100 Subject: Started progress towards coroutine-based connection handling --- connection.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'connection.h') diff --git a/connection.h b/connection.h index 3a7b32a..88cd6b8 100644 --- a/connection.h +++ b/connection.h @@ -2,16 +2,12 @@ #include -#include "request.h" - struct connection { int fd; - int lua_ref; + int ref; lua_State * L; - struct request * request; }; struct connection * connection_new(lua_State *, const int); -void connection_clear(struct connection *); void connection_free(lua_State *, struct connection *); -- cgit v1.1