mirror of https://github.com/omar-polo/gmid.git
log info about SNI, punycode and matched vhost
This commit is contained in:
parent
caad03081b
commit
22c6d6334d
5
server.c
5
server.c
|
@ -275,6 +275,11 @@ 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)");
|
||||
|
||||
if (h->domain != NULL) {
|
||||
c->state = S_OPEN;
|
||||
c->host = h;
|
||||
|
|
Loading…
Reference in New Issue