diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-30 12:26:38 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-30 12:42:13 +0100 |
commit | 5e83fce2b2db6be14e6fd6b7bb5d57b54494d532 (patch) | |
tree | 8201bd64cc0ef4ea646f058bdd2783b69440a0c4 /3rdparty/fguillot/picofeed/lib/PicoFeed/Clients | |
parent | 6d94cb8e3ddb271e05490508c4d62b5c0825f297 (diff) |
also forbid reuse of connections
Diffstat (limited to '3rdparty/fguillot/picofeed/lib/PicoFeed/Clients')
-rw-r--r-- | 3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php b/3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php index 702c8aea8..055f72e4f 100644 --- a/3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php +++ b/3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php @@ -160,6 +160,7 @@ class Curl extends Client curl_setopt($ch, CURLOPT_URL, $this->url); curl_setopt($ch, CURLOPT_FRESH_CONNECT, true); + curl_setopt($ch, CURLOPT_FORBID_REUSE, true); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $this->timeout); curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); |