From 90cb9eea8a1bdee8385e1f14ee69cf0955420af6 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 28 Jan 2021 16:28:44 +0000 Subject: [PATCH] don't log the SNI & matching I'll re-enable this when i'll improve the logging --- server.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server.c b/server.c index f17bdd7..f19116f 100644 --- a/server.c +++ b/server.c @@ -275,10 +275,10 @@ handle_handshake(struct pollfd *fds, struct client *c) break; } - LOGD(c, "handshake: SNI: \"%s\"; decoded: \"%s\"; matched: \"%s\"", - servname != NULL ? servname : "(null)", - c->domain, - h->domain != NULL ? h->domain : "(null)"); + /* LOGD(c, "handshake: SNI: \"%s\"; decoded: \"%s\"; matched: \"%s\"", */ + /* servname != NULL ? servname : "(null)", */ + /* c->domain, */ + /* h->domain != NULL ? h->domain : "(null)"); */ if (h->domain != NULL) { c->state = S_OPEN;