Skip to content
Snippets Groups Projects
Commit f012c442 authored by Andy Green's avatar Andy Green
Browse files

server socket service close fix fail detect

parent dd6aaa89
No related branches found
No related tags found
No related merge requests found
...@@ -496,7 +496,7 @@ lws_service_fd(struct lws_context *context, struct lws_pollfd *pollfd) ...@@ -496,7 +496,7 @@ lws_service_fd(struct lws_context *context, struct lws_pollfd *pollfd)
case LWS_CONNMODE_SERVER_LISTENER: case LWS_CONNMODE_SERVER_LISTENER:
case LWS_CONNMODE_SSL_ACK_PENDING: case LWS_CONNMODE_SSL_ACK_PENDING:
n = lws_server_socket_service(context, wsi, pollfd); n = lws_server_socket_service(context, wsi, pollfd);
if (n < 0) if (n)
goto close_and_handled; goto close_and_handled;
pending = lws_ssl_pending(wsi); pending = lws_ssl_pending(wsi);
if (pending) if (pending)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment