drop connection for x sec of idle time in apache?
i've made a download script, supporting resume and simultaneous downloads, but the script will still pipe the file content to the user even if the connection is closed by him/her(i tested it myself), wasting lots of bandwidth, i have a work around to limit the max transfer to 1MB for every single connection to get rid of this and also possible ddos attacks, but i found this makes inconvenience if the downloadable file is huge in size, lets say a 100MB file will need 100 connections to download it off of the server, though i suggest ppl using download agents for simultaneous connections and resume partial downloads automatically, but....i do want to know any tweaking in apache httpd.conf will help, by monitoring if the connection is still alive so that the script will continue to deliever content, or drop it if the connection from the user is dead/idle for a given sec
a test and experimental download can be found here:
http://www.lwktools.com/index.cgi/perl.msi
whille the source of the perl.msi file can still be found here:
http://www.lwktools.com/perl.msi
please use right click and save as, as my apache 1.3 doesn't support this mime type(.msi), and my script query mime.types for file extention before pushing downloadable files
please compare both connections
thanks for any ***suggestion***