mirror of
https://github.com/danog/dns.git
synced 2024-11-26 20:14:51 +01:00
Ignore responses without corresponding query ID, fixes #64
This commit is contained in:
parent
70441dab20
commit
fc221ecec8
@ -629,6 +629,10 @@ REGEX;
|
||||
}
|
||||
|
||||
private function processDecodedResponse($serverId, $requestId, $response) {
|
||||
if (empty($this->pendingRequests[$requestId])) {
|
||||
return;
|
||||
}
|
||||
|
||||
list($promisor, $name, $type, $uri, $timeout) = $this->pendingRequests[$requestId];
|
||||
|
||||
// Retry via tcp if message has been truncated
|
||||
|
Loading…
Reference in New Issue
Block a user