diff --git a/interop/http09/client.go b/interop/http09/client.go index 1cee2320..8edcd67c 100644 --- a/interop/http09/client.go +++ b/interop/http09/client.go @@ -41,7 +41,10 @@ func (r *RoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { } c, ok := r.clients[hostname] if !ok { - tlsConf := r.TLSClientConfig.Clone() + tlsConf := &tls.Config{} + if r.TLSClientConfig != nil { + tlsConf = r.TLSClientConfig.Clone() + } tlsConf.NextProtos = []string{h09alpn} c = &client{ hostname: hostname,