forked from quic-go/quic-go
remove Session.Close()
Session.Close() sends a transport-level error code. Applications should not be able to call this function, but use CloseWithError() instead.
This commit is contained in:
@@ -51,7 +51,7 @@ var _ = Describe("Connection ID lengths tests", func() {
|
||||
conf,
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
defer cl.Close()
|
||||
defer cl.CloseWithError(0, "")
|
||||
str, err := cl.AcceptStream(context.Background())
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
data, err := ioutil.ReadAll(str)
|
||||
|
||||
Reference in New Issue
Block a user