diff options
author | Aki <please@ignore.pl> | 2021-02-24 22:47:44 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-02-24 22:47:44 +0100 |
commit | 5363bb572b05d0ae136c8db5fc8d9370ecff1d1d (patch) | |
tree | 13895366794e1521471550d1ee9866cb21b3bc93 | |
parent | 1aceae67491cd871c1be063ba7f02bf6db85a1fa (diff) | |
download | plop-5363bb572b05d0ae136c8db5fc8d9370ecff1d1d.zip plop-5363bb572b05d0ae136c8db5fc8d9370ecff1d1d.tar.gz plop-5363bb572b05d0ae136c8db5fc8d9370ecff1d1d.tar.bz2 |
Plop no longer closes connection on yield
-rw-r--r-- | plop.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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: |