mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-07-29 03:03:50 -04:00
cleanup
This commit is contained in:
@@ -41,7 +41,9 @@ func (server *Server) handleConnection(conn *net.UDPConn) {
|
||||
}
|
||||
|
||||
response := server.MsgProcessor(buffer[:nBytes])
|
||||
conn.WriteToUDP(response, addr)
|
||||
if _, err := conn.WriteToUDP(response, addr); err != nil {
|
||||
fmt.Println("Failed to write to UDP: ", err.Error())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user