From 7d73c3341cf7d95e3c45c79a5f133cc8d4f386fa Mon Sep 17 00:00:00 2001 From: dev31337 Date: Sun, 24 May 2020 14:06:54 +0100 Subject: [PATCH] listen: handle denied FILTER_NETWORK_CONNECTION correctly --- lib/roles/listen/ops-listen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roles/listen/ops-listen.c b/lib/roles/listen/ops-listen.c index c49159f13..66ffe4ee1 100644 --- a/lib/roles/listen/ops-listen.c +++ b/lib/roles/listen/ops-listen.c @@ -130,7 +130,7 @@ rops_handle_POLLIN_listen(struct lws_context_per_thread *pt, struct lws *wsi, (void *)(lws_intptr_t)accept_fd, 0)) { lwsl_debug("Callback denied net connection\n"); compatible_close(accept_fd); - return LWS_HPI_RET_PLEASE_CLOSE_ME; + return LWS_HPI_RET_HANDLED; } if (!(wsi->vhost->options &