use H3_NO_ERROR when closing the http3.Client

This commit is contained in:
Marten Seemann
2020-01-22 20:36:48 +07:00
parent fe026a3ac1
commit a5120204cc

View File

@@ -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 {