diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-30 12:19:59 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-30 12:42:13 +0100 |
commit | 6d94cb8e3ddb271e05490508c4d62b5c0825f297 (patch) | |
tree | d4252bfbcaefb5ee06f6023820217c410188194c /3rdparty | |
parent | 290765fba1e87e5e20c157917cfe27d14587c4d3 (diff) |
try fresh connection for curl
Diffstat (limited to '3rdparty')
-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 a1ee96dbe..702c8aea8 100644 --- a/3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php +++ b/3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php @@ -159,6 +159,7 @@ class Curl extends Client $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $this->url); + curl_setopt($ch, CURLOPT_FRESH_CONNECT, 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); |