This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#506 fetch.php stops after 2000000 Bytes (fpassthru/PHP bug)
Backend
2005-08-10
As configured in PHP-Source, fpassthru can only pass 2000000 Bytes to not block the server. So the line
fpassthru($fp); //does a close itself
in lib/exe/fetch.php will only give you a file this size and stop then :(
This should be replaced with a loop (maybe with fwrite), i will try to solve it that way.
Please consider this in your next release!
2005-08-10Johannes
^^ I wrote that report, now i'm registred.
you can use this as a solution:
if($fp){
// fpassthru($fp); //does a close itself
while(!feof($fp))
echo fread($fp, 2048);
fclose ($fp);
}else{