David Fifield
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Works for me, and I like that the default VerifyOptions are always supplied. The comment on VerifyCertificate could use some explanation of what the certs and opts parameters are and where they came from.As David says, we still need something that allows us to not send the ServerName extension in the client handshake. Two options would be a new parameter as in the commit that David referenced, or having the optional VerifyCertificate function get called even if InsecureSkipVerify is true, in which case we could just set InsecureSkipVerify and supply our custom verification function. I think having an explicit parameter is probably clearer.