summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index e79d894..bf6c512 100644
--- a/it_url.class
+++ b/it_url.class
@@ -326,7 +326,7 @@ function request($p=array())
$this->curlinfo = curl_getinfo($curl);
EDC('curlinfo', $this->curlinfo);
- if ($got !== false)
+ if ($got !== false || curl_errno($curl) == 42)
{
$url->header = array_slice(explode("\r\n\r\n", trim($header)), -1)[0] . "\r\n\r\n";
$url->data = $got;