diff --git a/http3/client.go b/http3/client.go index ffe949d7..56b766b9 100644 --- a/http3/client.go +++ b/http3/client.go @@ -123,7 +123,7 @@ func (c *client) setupSession() error { } func (c *client) Close() error { - return c.session.Close() + return c.session.CloseWithError(quic.ErrorCode(errorNoError), "") } func (c *client) maxHeaderBytes() uint64 {