Descriptioncrypto/tls: improve documentation for ServerName.
Users of the low-level, Client function are frequenctly missing the
fact that, unless they pass a ServerName to the TLS connection then it
cannot verify the certificates against any name.
This change makes it clear that at least one of InsecureSkipVerify and
ServerName should always be set.
Patch Set 1 #Patch Set 2 : diff -r 7f2863716967 https://code.google.com/p/go/ #Patch Set 3 : diff -r 7f2863716967 https://code.google.com/p/go/ #Patch Set 4 : diff -r 306e64f0c0cf https://code.google.com/p/go/ #
MessagesTotal messages: 4
|