From a1000e415d8899f1842f7ce987f04a101dd59b43 Mon Sep 17 00:00:00 2001 From: d9magai Date: Thu, 18 Sep 2014 09:12:09 +0900 Subject: [PATCH] CURLOPT_CLOSEPOLICY is deprecated, as it was never implemented in cURL and never had any effect. --- lib/requestcore/requestcore.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/requestcore/requestcore.class.php b/lib/requestcore/requestcore.class.php index 6fbc439..87bc13e 100755 --- a/lib/requestcore/requestcore.class.php +++ b/lib/requestcore/requestcore.class.php @@ -623,7 +623,6 @@ public function prep_request() curl_setopt($curl_handle, CURLOPT_URL, $this->request_url); curl_setopt($curl_handle, CURLOPT_FILETIME, true); curl_setopt($curl_handle, CURLOPT_FRESH_CONNECT, false); - curl_setopt($curl_handle, CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_LEAST_RECENTLY_USED); curl_setopt($curl_handle, CURLOPT_MAXREDIRS, 5); curl_setopt($curl_handle, CURLOPT_HEADER, true); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);