We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fffc9b2 commit 62c4c00Copy full SHA for 62c4c00
internal/transport/http2_client.go
@@ -1006,7 +1006,7 @@ func (t *http2Client) Close(err error) {
1006
t.mu.Unlock()
1007
// Per HTTP/2 spec, a GOAWAY frame must be sent before closing the
1008
// connection. See https://httpwg.org/specs/rfc7540.html#GOAWAY.
1009
- t.controlBuf.put(&goAway{code: http2.ErrCodeNo, debugData: []byte(err.Error()), closeConn: err})
+ t.controlBuf.put(&goAway{code: http2.ErrCodeNo, debugData: []byte("client transport shutdown"), closeConn: err})
1010
<-t.writerDone
1011
t.cancel()
1012
t.conn.Close()
0 commit comments