Fix udp listener write back

This commit is contained in:
世界 2025-08-04 08:52:55 +08:00
parent 5b92eeb3bf
commit 5c6eb89cfb
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -164,9 +164,8 @@ func (l *Listener) loopUDPOut() {
if l.shutdown.Load() && E.IsClosed(err) {
return
}
l.udpConn.Close()
l.logger.Error("udp listener write back: ", destination, ": ", err)
return
continue
}
continue
case <-l.packetOutboundClosed: