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

Commit

Permalink
Merge pull request #71 from d9magai/CURLOPT_CLOSEPOLICY_is_deprecated
Browse files Browse the repository at this point in the history
eliminated curl_setopt of CURLOPT_CLOSEPOLICY
  • Loading branch information
jeremeamia committed Oct 15, 2014
2 parents 46dfcf9 + a1000e4 commit 0507424
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/requestcore/requestcore.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0507424

Please sign in to comment.