Subject: | X-LIGHTTPD-send-tempfile should be optional behaviour, not default |
Show quoted text
> Latest version of lighttpd (1.5.0) also support X-LIGHTTPD-send-tempfile,
> that is almost same to X-LIGHTTPD-send-file except deleting sending
> file when server sent file.
>
> This module automatically use this feature when content length is above 16kbytes.
X-LIGHTTPD-send-tempfile should not be the default behaviour as;
- lighttpd removes the file after sending it
- it only works with lighttpd 1.5.x, which is still in development
We're using sendfile to deliver some protected files outside
the web server root, and deleting is most definitely not an
expected or sane default ;-).
Thx,
Stephen