From 970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Tue, 14 Nov 2023 18:46:10 +0100 Subject: previous commit changed error code for maxlength reached --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3