don't log the SNI & matching

I'll re-enable this when i'll improve the logging
This commit is contained in:
Omar Polo 2021-01-28 16:28:44 +00:00
parent 8ef09de3d0
commit 90cb9eea8a
1 changed files with 4 additions and 4 deletions

View File

@ -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;