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

Commit a1000e4

Browse files
author
d9magai
committed
CURLOPT_CLOSEPOLICY is deprecated, as it was never implemented in cURL and never had any effect.
1 parent 46dfcf9 commit a1000e4

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)