type crypto/tls.RecordHeaderError

5 uses

	crypto/tls (current package)
		conn.go#L564: type RecordHeaderError struct {
		conn.go#L577: func (e RecordHeaderError) Error() string { return "tls: " + e.Msg }
		conn.go#L579: func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) {

	net/http
		client.go#L266: 		if tlsErr, ok := err.(tls.RecordHeaderError); ok {
		server.go#L1895: 			if re, ok := err.(tls.RecordHeaderError); ok && re.Conn != nil && tlsRecordHeaderLooksLikeHTTP(re.RecordHeader) {