I want to download the files from symbolic links. The symbolic links will be deleted after 2 minutes. This is a download protection feature by my application. Apache was able to handle the download after the link was deleted. But lighttpd stops downloading if i delete the symbolic link. Is there a way that lighttpd continues downloading file after the symbolic link was deleted?
Updated by Anonymous about 17 years ago
I don't think that it necessarily is a bug, as it also can be seen as a security feature to immediately stop access to a removed file. However, lighttpd's behaviour would be a bit unusual in the Unix world, where you normally can access a removed/unlinked file and still access it as long as it is opened.
Updated by trog about 15 years ago
- Status changed from Fixed to Need Feedback
- Resolution deleted (
This problem appears to be back again as of 1.4.16; I've tested with symlinks and once the symlinks are deleted the file download stops immediately.
I'm using a very simple configuration and not aware of any config options that might stop this from happening.
Updated by stbuehler over 14 years ago
- Status changed from Need Feedback to Fixed
- Resolution set to fixed
- Use mod_secdownload, mod_trigger_b4_dl or x-sendfile.
- Works for me (symlink to big file, start dl it, delete symlink, dl continues): maybe your kernel/filesystem doesn't like this? I don't think this is a lighty bug, as long as lighty does not crash.
Also available in: Atom