From 5363bb572b05d0ae136c8db5fc8d9370ecff1d1d Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 24 Feb 2021 22:47:44 +0100 Subject: Plop no longer closes connection on yield --- plop.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plop.c b/plop.c index 445e3f8..34c8d06 100644 --- a/plop.c +++ b/plop.c @@ -173,12 +173,10 @@ int plop_handle_client(lua_State * L, struct epoll_event * event) response_send(c->L, c->fd); connection_free(L, c); - return 0; } case LUA_YIELD: { - connection_free(L, c); // TODO: This shouldn't be the case... Right? return 0; } default: -- cgit v1.1