From fb4711bf2780417bbfb1539bf4ec6b3fa8dffc4e Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 3 Jul 2025 16:32:58 +0200 Subject: [PATCH] return early if handle has been cleaned up before --- src/Symfony/Component/HttpClient/Response/AmpResponseV5.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/HttpClient/Response/AmpResponseV5.php b/src/Symfony/Component/HttpClient/Response/AmpResponseV5.php index 8f56c76a41033..7fc1036d4c34e 100644 --- a/src/Symfony/Component/HttpClient/Response/AmpResponseV5.php +++ b/src/Symfony/Component/HttpClient/Response/AmpResponseV5.php @@ -240,6 +240,10 @@ private static function generateResponse(Request $request, AmpClientStateV5 $mul $body = $response->getBody(); while (true) { + if (!isset($multi->openHandles[$id])) { + return; + } + $multi->openHandles[$id]->complete(); $multi->openHandles[$id] = new DeferredFuture(); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy