Update quic-go to v0.37.3

This commit is contained in:
世界
2023-07-23 14:42:19 +08:00
parent 3e6d34adea
commit 6de6804212
6 changed files with 33 additions and 16 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
}