build: Bump quic-go to 0.26.0 for go1.18 update (#8231)

Merging because I want this in the RC, when we do the RC...
This commit is contained in:
Simon Frei
2022-04-12 16:27:29 +04:00
committed by GitHub
parent bcd91f536e
commit 0525c755f4
3 changed files with 17 additions and 14 deletions
+3 -3
View File
@@ -36,7 +36,7 @@ func quicNetwork(uri *url.URL) string {
}
type quicTlsConn struct {
quic.Session
quic.Connection
quic.Stream
// If we created this connection, we should be the ones closing it.
createdConn net.PacketConn
@@ -44,7 +44,7 @@ type quicTlsConn struct {
func (q *quicTlsConn) Close() error {
sterr := q.Stream.Close()
seerr := q.Session.CloseWithError(0, "closing")
seerr := q.Connection.CloseWithError(0, "closing")
var pcerr error
if q.createdConn != nil {
pcerr = q.createdConn.Close()
@@ -59,7 +59,7 @@ func (q *quicTlsConn) Close() error {
}
func (q *quicTlsConn) ConnectionState() tls.ConnectionState {
return q.Session.ConnectionState().TLS.ConnectionState
return q.Connection.ConnectionState().TLS.ConnectionState
}
func packetConnUnspecified(conn interface{}) bool {