× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



MattLavinder@xxxxxxxxxxxxxxxxxxx skrev:
works great except for the timeout issue. If the file is over 1GB, it can
take a while for the download to complete. I am trying to avoid
configuring PHP and Apache to allow scripts to run for hours before a
timeout occurs, but I would like to allow this one script to (basically)
run indefinitely. While not ideal, it is certainly better than making it
possible for any PHP script on the server to run indefinitely.
A frequent approach to this problem is to have a proxy instance in front of the server running the scripts. The proxy server is contacted with the request, the proxy server requests the file from the script, the whole file is transferred fast to the proxyserver and the script finishes, and the proxy server slowly serves out the result to the requester.

You just need enough disk to hold the temporary results on the proxy server.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.