Update quic-go

This commit is contained in:
世界
2023-07-23 14:42:19 +08:00
parent cbdaf3272b
commit 0b14dc3228
6 changed files with 46 additions and 30 deletions

View File

@@ -214,7 +214,7 @@ func (h *Hysteria) offerNew(ctx context.Context) (quic.Connection, error) {
func (h *Hysteria) udpRecvLoop(conn quic.Connection) {
for {
packet, err := conn.ReceiveMessage()
packet, err := conn.ReceiveMessage(h.ctx)
if err != nil {
return
}