This commit is contained in:
Dreamacro
2020-10-29 00:32:31 +08:00
parent 9a62b1081d
commit b98e9ea202
2 changed files with 9 additions and 5 deletions

View File

@ -42,7 +42,10 @@ func Add(req C.ServerAdapter) {
// AddPacket add udp Packet to queue
func AddPacket(packet *inbound.PacketAdapter) {
udpQueue <- packet
select {
case udpQueue <- packet:
default:
}
}
// Rules return all rules