mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
listen: handle denied FILTER_NETWORK_CONNECTION correctly
This commit is contained in:
parent
36bcae17ab
commit
7d73c3341c
1 changed files with 1 additions and 1 deletions
|
@ -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 &
|
||||
|
|
Loading…
Add table
Reference in a new issue