crypto/tls.RecordHeaderError.Conn (field)

5 uses

	crypto/tls (current package)
		conn.go#L574: 	Conn net.Conn
		conn.go#L581: 	err.Conn = conn

	net/http
		server.go#L1895: 			if re, ok := err.(tls.RecordHeaderError); ok && re.Conn != nil && tlsRecordHeaderLooksLikeHTTP(re.RecordHeader) {
		server.go#L1896: 				io.WriteString(re.Conn, "HTTP/1.0 400 Bad Request\r\n\r\nClient sent an HTTP request to an HTTPS server.\n")
		server.go#L1897: 				re.Conn.Close()