From a5120204cc01cb1b76da182f95bc685cc4614454 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 22 Jan 2020 20:36:48 +0700 Subject: [PATCH] use H3_NO_ERROR when closing the http3.Client --- http3/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http3/client.go b/http3/client.go index ffe949d74..56b766b92 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 {