summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorDavid Flatz2025-07-09 14:54:59 +0200
committerDavid Flatz2025-07-09 14:54:59 +0200
commit807ddc4835ace6d32527d2d020f43a38abe409c3 (patch)
tree17855007bf363c64d314fe91067ab7f0a1911d43 /it_url.class
parentac0e96057ffaa1d1f6fdc074ff93fa8da7857036 (diff)
downloaditools-807ddc4835ace6d32527d2d020f43a38abe409c3.tar.gz
itools-807ddc4835ace6d32527d2d020f43a38abe409c3.tar.bz2
itools-807ddc4835ace6d32527d2d020f43a38abe409c3.zip
Show first 2kb of response body when debugparameter curlinfo is set
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index d37a6d5..05226a3 100644
--- a/it_url.class
+++ b/it_url.class
@@ -337,7 +337,7 @@ function request($p=array())
$body = $origbody = $p['maxlength'] && $got ? $content : $got;
$this->curlinfo = curl_getinfo($curl);
- EDC('curlinfo', $this->curlinfo);
+ EDC('curlinfo', $this->curlinfo, substr($got, 0, 2048));
if ($body !== false || curl_errno($curl) == 23)
{