diff --git a/http2/transport.go b/http2/transport.go index 27c47ef2a..7a52e3821 100644 --- a/http2/transport.go +++ b/http2/transport.go @@ -754,7 +754,7 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro peerMaxHeaderListSize: 0xffffffffffffffff, // "infinite", per spec. Use 2^64-1 instead. streams: make(map[uint32]*clientStream), singleUse: singleUse, - seenSettingsChan: make(chan struct{}), + seenSettingsChan: make(chan struct{}), wantSettingsAck: true, readIdleTimeout: conf.SendPingTimeout, pingTimeout: conf.PingTimeout,