1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

coverity 83684 let parent close if ssl service fails

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-11-30 12:14:23 +08:00
parent 924bcfbc99
commit 26193fab34

View file

@ -592,9 +592,7 @@ lws_server_socket_service_ssl(struct libwebsocket_context *context,
}
lwsl_debug("SSL_accept failed skt %u: %s\n",
pollfd->fd, ERR_error_string(m, NULL));
libwebsocket_close_and_free_session(context, wsi,
LWS_CLOSE_STATUS_NOSTATUS);
break;
goto fail;
accepted:
/* OK, we are accepted... give him some time to negotiate */