From: reyk Date: Tue, 16 Aug 2016 17:10:01 +0000 (+0000) Subject: Turn "TLS handshake failed -" log message into a debug message - it X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cc3b04ccfd3814faa881264f7c2e45e8356323ef;p=openbsd Turn "TLS handshake failed -" log message into a debug message - it happens way too often and does not provide much information. OK jung@ --- diff --git a/usr.sbin/httpd/server.c b/usr.sbin/httpd/server.c index 403d12fa775..9273e60c8a2 100644 --- a/usr.sbin/httpd/server.c +++ b/usr.sbin/httpd/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.89 2016/08/16 08:36:29 reyk Exp $ */ +/* $OpenBSD: server.c,v 1.90 2016/08/16 17:10:01 reyk Exp $ */ /* * Copyright (c) 2006 - 2015 Reyk Floeter @@ -1018,7 +1018,7 @@ server_tls_handshake(int fd, short event, void *arg) server_tls_handshake, &clt->clt_tv_start, &srv->srv_conf.timeout, clt); } else { - log_warnx("%s: tls handshake failed - %s", __func__, + log_debug("%s: tls handshake failed - %s", __func__, tls_error(clt->clt_tls_ctx)); server_close(clt, "tls handshake failed"); }