Sun, 13 May 2018 12:06:41 +0200
fixes ssl accept error handling
src/server/daemon/sessionhandler.c | file | annotate | diff | comparison | revisions |
--- a/src/server/daemon/sessionhandler.c Sun Jan 21 09:17:52 2018 +0100 +++ b/src/server/daemon/sessionhandler.c Sun May 13 12:06:41 2018 +0200 @@ -297,13 +297,12 @@ case SSL_ERROR_WANT_ACCEPT: errstr = "SSL_ERROR_WANT_ACCEPT"; break; case SSL_ERROR_WANT_X509_LOOKUP: errstr = "SSL_ERROR_WANT_X509_LOOKUP"; break; case SSL_ERROR_SYSCALL: errstr = "SSL_ERROR_SYSCALL"; break; - case SSL_ERROR_SSL: errstr = "SSL_ERROR_SSL"; break; - - log_ereport(LOG_VERBOSE, "SSL accept error[%d]: %s", error, errstr); - event->finish = evt_request_error; - io->error = 1; - return 0; + case SSL_ERROR_SSL: errstr = "SSL_ERROR_SSL"; break; } + log_ereport(LOG_VERBOSE, "SSL accept error[%d]: %s", error, errstr); + event->finish = evt_request_error; + io->error = 1; + return 0; } conn->ssl_accepted = WS_TRUE;