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:
parent
924bcfbc99
commit
26193fab34
1 changed files with 1 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue