privatize the h2quic client

This commit is contained in:
Marten Seemann
2017-05-26 17:47:49 +08:00
parent a025e89f03
commit 4c3d4960bb
3 changed files with 21 additions and 21 deletions

View File

@@ -93,7 +93,7 @@ func (r *QuicRoundTripper) getClient(hostname string) (h2quicClient, error) {
client, ok := r.clients[hostname]
if !ok {
client = NewClient(r, r.TLSClientConfig, hostname)
client = newClient(r, r.TLSClientConfig, hostname)
err := client.Dial()
if err != nil {
return nil, err