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
@@ -244,7 +244,7 @@ func (h *Hysteria) accept(ctx context.Context, conn 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
}