split the Session.Close(error) in Close() and CloseWithError(error)

This commit is contained in:
Marten Seemann
2018-07-04 17:04:50 +07:00
parent 2bc5b7f532
commit 8b2992a243
22 changed files with 168 additions and 105 deletions

View File

@@ -109,7 +109,7 @@ var _ = Describe("Bidirectional streams", func() {
sess, err := server.Accept()
Expect(err).ToNot(HaveOccurred())
runSendingPeer(sess)
sess.Close(nil)
sess.Close()
}()
client, err := quic.DialAddr(serverAddr, nil, qconf)