Hey there, I have a script that fopens a remote url and then freads the content back to the browser. When I try it with litespeed, i'm downloading a file that is around 570Mb, however it seems to always cut off at around 520Mb so the transfer is never complete, when I switch from litespeed back to apache the full 570Mb downloads perfectly. I really want to stay with litespeed but if I can't get this fixed, then I'm going to have to switch back to apache, and I really don't want to do that, so here's me hoping someone here can help, maybe with a config setting or something
Many Thanks in Advance
Here's an extract from my php script:
Many Thanks in Advance
Here's an extract from my php script:
PHP:
//setup headers for file transfer
$fp = fopen($remoteUrl, 'r', false, $context);
while (!feof($fp)) {
print(fread($fp, 2048));
}
fclose($fp);
Last edited: