I am trying to find a way to send a file to the browser without blocking its connection to Apache.
The scenario is the following:
- I open a file and pass it through a PHP script so that I can do bandwidth management by reading blocks at time intervals.
- This subsequently keeps the Apache child open until the whole file has not been transferred.
- While the file is being transferred, the browser's instance stays blocked.
Is there a way to do file transfers without blocking the browser and still do bandwidth management?