Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Commit 0507424

Browse files
committed
Merge pull request #71 from d9magai/CURLOPT_CLOSEPOLICY_is_deprecated
eliminated curl_setopt of CURLOPT_CLOSEPOLICY
2 parents 46dfcf9 + a1000e4 commit 0507424

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/requestcore/requestcore.class.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,6 @@ public function prep_request()
623623
curl_setopt($curl_handle, CURLOPT_URL, $this->request_url);
624624
curl_setopt($curl_handle, CURLOPT_FILETIME, true);
625625
curl_setopt($curl_handle, CURLOPT_FRESH_CONNECT, false);
626-
curl_setopt($curl_handle, CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_LEAST_RECENTLY_USED);
627626
curl_setopt($curl_handle, CURLOPT_MAXREDIRS, 5);
628627
curl_setopt($curl_handle, CURLOPT_HEADER, true);
629628
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);

0 commit comments

Comments
 (0)