From 880c496e720bc7e8ac5368cd02bd82ce6e3d72f3 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 9 Jun 2022 10:38:35 +0200 Subject: [PATCH] Client::requeue(): actually set any new callback --- src/php_http_client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/php_http_client.c b/src/php_http_client.c index d2f6204..4fdbfe8 100644 --- a/src/php_http_client.c +++ b/src/php_http_client.c @@ -808,6 +808,8 @@ static PHP_METHOD(HttpClient, requeue) if (fci.object) { GC_ADDREF(fci.object); } + e->closure.fci = fci; + e->closure.fcc = fcc; } RETURN_ZVAL(getThis(), 1, 0); } -- 2.30.2