Browse Source

Fix udp listener write back

世界 2 months ago
parent
commit
5c6eb89cfb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      common/listener/listener_udp.go

+ 1 - 2
common/listener/listener_udp.go

@@ -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: