1
0
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:
Niklas Keller 2017-10-23 15:16:54 +02:00
parent 70441dab20
commit fc221ecec8

View File

@ -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