From c9c87abe9a0bf7b045e989ce9e9fc16ac1cc97dc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Oct 2025 08:36:49 +0200 Subject: update to 4.3.1 open https://github.com/m6w6/ext-http/issues/151 test suite hangs with old libcurl (EL-8) fix build with libcurl 7.61 (EL-8) using patch from https://github.com/m6w6/ext-http/pull/152 --- 0001-return-string-in-output-handler.patch | 31 ------------------------------ 1 file changed, 31 deletions(-) delete mode 100644 0001-return-string-in-output-handler.patch (limited to '0001-return-string-in-output-handler.patch') diff --git a/0001-return-string-in-output-handler.patch b/0001-return-string-in-output-handler.patch deleted file mode 100644 index 717e603..0000000 --- a/0001-return-string-in-output-handler.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 36201dbbe628f2bc40cb1ed6c22f4486f3468b27 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Fri, 18 Jul 2025 07:19:36 +0200 -Subject: [PATCH] return string in output handler - -Returning a non-string result from user output handler is deprecated - -From https://wiki.php.net/rfc/deprecations_php_8_4 - - A return value of true is treated like a context reset, - which is identical to returning an empty string. ---- - src/php_http_env_response.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/php_http_env_response.c b/src/php_http_env_response.c -index 3dba5b9..b44c58d 100644 ---- a/src/php_http_env_response.c -+++ b/src/php_http_env_response.c -@@ -1165,7 +1165,7 @@ static PHP_METHOD(HttpEnvResponse, __invoke) - } else { - php_http_message_body_append(obj->message->body, ob_str, ob_len); - } -- RETURN_TRUE; -+ RETURN_EMPTY_STRING(); - } - } - --- -2.50.1 - -- cgit