diff --git a/lib/DefaultResolver.php b/lib/DefaultResolver.php index b2a9e91..e7ca994 100644 --- a/lib/DefaultResolver.php +++ b/lib/DefaultResolver.php @@ -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