Project

General

Profile

mod_staticfile terminates on End of file without serving the requested range

Added by rahulmittal321 over 15 years ago

Hi Guys,
I am trying to use mod_staticfile to serve a file. The requests are range requests.
What happens is that as it reaches end of file it terminates the connection even if the requested range is not there yet.
The file that i am trying to serve is still being written into when the request is made.
What i want is that untill the mod_staticfile has served the requested range it waits till data becomes available in the file and terminates only when the requested range of bytes have been served...

Any suggestions would help a lot...