Update comment

This commit is contained in:
Frank Denis 2021-08-04 14:27:58 +02:00
parent e64425b5e7
commit c8a61abb79
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ func (proxy *Proxy) udpListener(clientPc *net.UDPConn) {
packet := buffer[:length] packet := buffer[:length]
if !proxy.clientsCountInc() { if !proxy.clientsCountInc() {
dlog.Warnf("Too many incoming connections (max=%d)", proxy.maxClients) dlog.Warnf("Too many incoming connections (max=%d)", proxy.maxClients)
proxy.processIncomingQuery("udp", proxy.mainProto, packet, &clientAddr, clientPc, time.Now(), true) // handle synchronously proxy.processIncomingQuery("udp", proxy.mainProto, packet, &clientAddr, clientPc, time.Now(), true) // respond synchronously, but only to cached/synthesized queries
continue continue
} }
go func() { go func() {