Fix UDP services (ie: DNS)
This commit is contained in:
@@ -155,7 +155,8 @@ final class SocketServer {
|
||||
$r = new SocketClient($this->server);
|
||||
|
||||
if ($r->hasData(30)) {
|
||||
$this->handler[0]->{$this->handler[1]}($r);
|
||||
if (! ($this->handler[0]->{$this->handler[1]}($r)))
|
||||
exit(0);
|
||||
|
||||
// Sleep so our thread has a chance to pick up the data from our connection
|
||||
usleep(50000);
|
||||
|
Reference in New Issue
Block a user