
Junkie Narkosvin - 2010-12-07 03:08:28
Thank you for this otherwise extremely useful class, but I've run into a rather strange problem - the response is truncated at 8K, and I can't seem to read the remainder of the response.
For example:
$c = new http_class;
$c->timeout = 15;
$c->data_timeout = 15;
$c->debug = 0;
$c->file_buffer_length = 1024*1024;
$c->GetRequestArguments($url, $args);
$c->Open($args);
$c->SendRequest($args);
$c->ReadReplyBody($body, 1024*1024);
I left out the error checking just to demonstrate the problem.
The response comes back truncated at 8K, even though I've set both the file_buffer_length, and a large size when calling ReadReplyBody().
Any clues?