diff options
author | Nathan Gass | 2023-11-14 18:46:10 +0100 |
---|---|---|
committer | Nathan Gass | 2023-11-14 18:46:10 +0100 |
commit | 970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4 (patch) | |
tree | 2f3f3a3d990a5a3bab1ed4103fdd25f08809c672 | |
parent | d7b0fbd38f80a80424bf3645564eb3b9f9cc78fe (diff) | |
download | itools-970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4.tar.gz itools-970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4.tar.bz2 itools-970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4.zip |
previous commit changed error code for maxlength reached
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index 2b3df72..ced7a7b 100644 --- a/it_url.class +++ b/it_url.class @@ -335,7 +335,7 @@ function request($p=array()) $this->curlinfo = curl_getinfo($curl); EDC('curlinfo', $this->curlinfo); - if ($got !== false || curl_errno($curl) == 42) + if ($got !== false || curl_errno($curl) == 23) { $url->header = array_slice(explode("\r\n\r\n", trim($header)), -1)[0] . "\r\n\r\n"; $url->data = $got; |