From 079905acd536e772241def9ad098d16f45ef37d8 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 3 Feb 2020 11:47:01 +0100 Subject: [PATCH] Fix #78090: bug45161.phpt takes forever to finish Not all systems support the discard protocol (TCP port 9), and since there is no particular reason to use it, we switch to using actual server testing. --- NEWS | 3 +++ ext/curl/tests/bug45161.phpt | 13 +++++-------- ext/curl/tests/bug46739.phpt | 9 +++++---- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index 06c7e567d45..c5adbf15264 100644 --- a/NEWS +++ b/NEWS @@ -45,6 +45,9 @@ PHP NEWS - Standard: . Fixed bug #78902 (Memory leak when using stream_filter_append). (liudaixiao) +- Testing: + . Fixed bug #78090 (bug45161.phpt takes forever to finish). (cmb) + - XSL: . Fixed bug #70078 (XSL callbacks with nodes as parameter leak memory). (cmb) diff --git a/ext/curl/tests/bug45161.phpt b/ext/curl/tests/bug45161.phpt index bf6f6697714..d6d722fe281 100644 --- a/ext/curl/tests/bug45161.phpt +++ b/ext/curl/tests/bug45161.phpt @@ -2,12 +2,7 @@ Bug #45161 (Reusing a curl handle leaks memory) --SKIPIF-- = 7.17.0"); @@ -15,10 +10,12 @@ if ($curl_version['version_number'] < 0x071100) { ?> --FILE-- --FILE--