mirror of https://github.com/gogits/gogs.git
Browse Source
From https://godoc.org/crypto/tls#Config ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address. This is needed for certificate validation without InsecureSkipVerify.pull/3108/head
Paul Tötterman
9 years ago
committed by
Unknwon
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue