We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade04a5 commit 7d85003Copy full SHA for 7d85003
udp.go
@@ -36,7 +36,7 @@ func DialUDPContext(ctx context.Context, network string, laddr, raddr *net.UDPAd
36
return &UDPConn{
37
udpConn: conn,
38
closeChan: make(chan struct{}),
39
- ctx: context.Background(),
+ ctx: ctx,
40
}, nil
41
}
42
0 commit comments