summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-03-05 00:48:57 +0100
committerAki <please@ignore.pl>2021-03-05 00:48:57 +0100
commit0c9cc5dd53a4f34c9ebc28c24f31a8c62e5ffe3a (patch)
tree78ee8eb91d31689f9c99ff8de57a80bc5ce96af3 /plop.c
parent2906145eec3c752f6c197c39611984aa91ab5a6e (diff)
downloadplop-0c9cc5dd53a4f34c9ebc28c24f31a8c62e5ffe3a.zip
plop-0c9cc5dd53a4f34c9ebc28c24f31a8c62e5ffe3a.tar.gz
plop-0c9cc5dd53a4f34c9ebc28c24f31a8c62e5ffe3a.tar.bz2
Implemented flush continuation
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plop.c b/plop.c
index 5e25f00..16cad9c 100644
--- a/plop.c
+++ b/plop.c
@@ -195,7 +195,7 @@ int plop_handle_client(lua_State * L, struct epoll_event * event)
int plop_handle_server(lua_State * L, const int efd, const int server)
{
struct epoll_event e;
- e.events = EPOLLIN; // TODO: Add EPOLLOUT?
+ e.events = EPOLLIN | EPOLLOUT; // TODO: Add EPOLLHUP?
const int client = accept(server, NULL, NULL);
if (-1 == client)