* Fix curl openssl bug. the bug #40227.

This commit is contained in:
wangyuting
2024-01-03 09:55:07 +08:00
parent 41a3dc64c5
commit 156ec358ac
+1 -1
View File
@@ -1799,7 +1799,7 @@ class commonModel extends model
}
$curl = curl_init();
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($curl, CURLOPT_USERAGENT, 'ZenTao PMS ' . $app->config->version);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($curl, CURLOPT_TIMEOUT, $timeout);