Update quic-go

This commit is contained in:
世界 committed 2023-08-20 13:31:40 +08:00
1 parent cbdaf3272b
commit 0b14dc3228
6 files changed
+46 -30

No files matched your search

+1 -1
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
}