Revert "Revert "[relay] Update GO version and QUIC version (#4736)" (#5055)" (#5071)

This reverts commit 24df442198.
This commit is contained in:
Zoltan Papp
2026-01-08 18:58:22 +01:00
committed by GitHub
parent fb71b0d04b
commit 9c9d8e17d7
78 changed files with 311 additions and 340 deletions

View File

@@ -1,5 +1,4 @@
//go:build pprof
// +build pprof
package cmd

View File

@@ -12,14 +12,14 @@ import (
)
type Conn struct {
session quic.Connection
session *quic.Conn
closed bool
closedMu sync.Mutex
ctx context.Context
ctxCancel context.CancelFunc
}
func NewConn(session quic.Connection) *Conn {
func NewConn(session *quic.Conn) *Conn {
ctx, cancel := context.WithCancel(context.Background())
return &Conn{
session: session,

View File

@@ -88,7 +88,7 @@ func (c *Conn) Close() error {
c.closedMu.Lock()
c.closed = true
c.closedMu.Unlock()
return c.Conn.CloseNow()
return c.CloseNow()
}
func (c *Conn) isClosed() bool {