This commit is contained in:
2021-01-14 14:02:25 +08:00
parent 00432117e3
commit 16a04db3cc
+3
View File
@@ -107,6 +107,9 @@ class Curl extends ClientAbstracts
curl_setopt($resource, CURLOPT_FAILONERROR, true);
curl_setopt($resource, CURLOPT_HTTPHEADER, $this->parseHeaderMat());
if (defined('CURLOPT_SSL_FALSESTART')) {
curl_setopt($resource, CURLOPT_SSL_FALSESTART, true);
}
curl_setopt($resource, CURLOPT_FORBID_REUSE, false);
curl_setopt($resource, CURLOPT_FRESH_CONNECT, false);