mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 02:39:47 +02:00
Move from React 0.4.0 to 0.3.4 for PHP 5.3 compatibility reasons
This commit is contained in:
parent
d3f01a3bc7
commit
7f82bea13e
50 changed files with 608 additions and 1937 deletions
|
@ -48,14 +48,15 @@ class Executor implements ExecutorInterface
|
|||
|
||||
public function doQuery($nameserver, $transport, $queryData, $name)
|
||||
{
|
||||
$that = $this;
|
||||
$parser = $this->parser;
|
||||
$loop = $this->loop;
|
||||
|
||||
$response = new Message();
|
||||
$deferred = new Deferred();
|
||||
|
||||
$retryWithTcp = function () use ($nameserver, $queryData, $name) {
|
||||
return $this->doQuery($nameserver, 'tcp', $queryData, $name);
|
||||
$retryWithTcp = function () use ($that, $nameserver, $queryData, $name) {
|
||||
return $that->doQuery($nameserver, 'tcp', $queryData, $name);
|
||||
};
|
||||
|
||||
$timer = $this->loop->addTimer($this->timeout, function () use (&$conn, $name, $deferred) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue