From 4d1ae0093df90354c98e63d05484830680fe4b92 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Mon, 11 May 2026 11:02:31 +0800 Subject: [PATCH] Bypass curl test on swow loaded time --- src/globals/ext-tests/curl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals/ext-tests/curl.php b/src/globals/ext-tests/curl.php index 16b31e6e..d5759325 100644 --- a/src/globals/ext-tests/curl.php +++ b/src/globals/ext-tests/curl.php @@ -8,7 +8,7 @@ assert(function_exists('curl_exec')); assert(function_exists('curl_close')); assert(function_exists('curl_version')); $curl_version = curl_version(); -if (stripos($curl_version['ssl_version'], 'schannel') !== false) { +if (stripos($curl_version['ssl_version'], 'schannel') !== false && !extension_loaded('swow')) { $domain_list = [ 'https://captive.apple.com/', 'https://detectportal.firefox.com/',