Commit 64ca2965 authored by valenok's avatar valenok

disabled SSL handshake error messages

parent d9551c50
...@@ -3619,7 +3619,8 @@ static void worker_thread(struct mg_context *ctx) { ...@@ -3619,7 +3619,8 @@ static void worker_thread(struct mg_context *ctx) {
SSL_set_fd(conn->ssl, conn->client.sock) != 1) { SSL_set_fd(conn->ssl, conn->client.sock) != 1) {
cry(conn, "%s: SSL_set_fd: %s", __func__, ssl_error()); cry(conn, "%s: SSL_set_fd: %s", __func__, ssl_error());
} else if (conn->client.is_ssl && SSL_accept(conn->ssl) != 1) { } else if (conn->client.is_ssl && SSL_accept(conn->ssl) != 1) {
cry(conn, "%s: SSL handshake error: %s", __func__, ssl_error()); // This is very noisy, disabling
// cry(conn, "%s: SSL handshake error: %s", __func__, ssl_error());
} else { } else {
process_new_connection(conn); process_new_connection(conn);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment