We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dbe120 commit 10c620aCopy full SHA for 10c620a
1 file changed
proxy/serverudp.go
@@ -96,7 +96,7 @@ func (p *Proxy) udpPacketLoop(ctx context.Context, conn *net.UDPConn, reqSema sy
96
packet := make([]byte, n)
97
copy(packet, b)
98
99
- sErr := reqSema.Acquire(ctx)
+ sErr := reqSema.Acquire(context.WithoutCancel(ctx))
100
if sErr != nil {
101
p.logger.ErrorContext(
102
ctx,
0 commit comments