From 08c590b95f6cb2635d4f528cfb490640d6004449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sat, 13 Sep 2025 23:09:29 +0200 Subject: [PATCH] fix: catch libcurl unexpected EOF while reading exception --- src/Service/RDAPService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/RDAPService.php b/src/Service/RDAPService.php index 05766e4..d5ac6b5 100644 --- a/src/Service/RDAPService.php +++ b/src/Service/RDAPService.php @@ -265,7 +265,7 @@ class RDAPService { if ( ($e instanceof ClientException && 404 === $e->getResponse()->getStatusCode()) - || ($e instanceof TransportExceptionInterface && null !== $response && !in_array('content-length', $response->getHeaders(false))) + || ($e instanceof TransportExceptionInterface && null !== $response && !in_array('content-length', $response->getHeaders(false)) && 404 === $response->getStatusCode()) ) { if (null !== $domain) { $this->logger->notice('The domain name {idnDomain} has been deleted from the WHOIS database.', [