Harshavardhana 3640c63289 server/mux: PeekProtocol() should return error and connection be closed. (#3608)
For TLS peekProtocol do not assume the incoming request to be a TLS
connection perform a handshake() instead and validate.

Also add some security related defaults to `tls.Config`.
2017-01-22 12:14:00 -08:00
..
2017-01-12 10:19:59 -08:00
2016-10-26 08:46:14 -07:00
2017-01-12 10:19:59 -08:00
2017-01-12 10:19:59 -08:00
2017-01-12 10:19:59 -08:00
2016-11-28 12:14:24 -08:00