aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index f3e5ddb..11f148d 100644
--- a/degesch.c
+++ b/degesch.c
@@ -8337,6 +8337,7 @@ lua_plugin_push_connection (struct lua_plugin *plugin, int socket_fd)
memset (self, 0, sizeof *self);
self->plugin = plugin;
+ set_blocking (socket_fd, false);
poller_fd_init (&self->socket_event, &plugin->ctx->poller,
(self->socket_fd = socket_fd));
self->socket_event.dispatcher = (poller_fd_fn) lua_connection_on_ready;