From b1f289bce5d887b02103a69049a2992482205db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sat, 9 Sep 2023 11:40:20 +0800 Subject: [PATCH] Fix TUIC context --- transport/tuic/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/tuic/client.go b/transport/tuic/client.go index 841e61c9..997379c1 100644 --- a/transport/tuic/client.go +++ b/transport/tuic/client.go @@ -102,7 +102,7 @@ func (c *Client) offer(ctx context.Context) (*clientQUICConnection, error) { } func (c *Client) offerNew(ctx context.Context) (*clientQUICConnection, error) { - udpConn, err := c.dialer.DialContext(ctx, "udp", c.serverAddr) + udpConn, err := c.dialer.DialContext(c.ctx, "udp", c.serverAddr) if err != nil { return nil, err }