Lighttpd not able to delete temporary chunk files if client closes itself before upload completed
Lighttpd Version : 1.4.55
Issue : Lighttpd is not able to delete temporary chunk files if client closes itself
before upload completed.
I am doing large file upload test in lighttpd and I can see that it is creating temperory file for chunks in /var/tmp.
I have observed that while uploading large file from client(here browser) to device running lighttpd server, if client closed (may be due to network gone) in between file upload operation, lighttpd is not able to wipe out temporary files that it has created during receiving chunks.
Please share basic information including what operating system and version you are using, as different operating systems may handle temporary files differently.
Have you tested to see if this problem is still present or has been fixed in lighttpd 1.4.56?
- Status changed from Need Feedback to Missing Feedback
Unable to reproduce in lighttpd 1.4.55 on Fedora Linux on x86_64.
Please see How to get support and then try to present as much information as possible on how to reproduce your issue.
Please also verify whether or not this is still an issue for you with lighttpd 1.4.56.
I have again tested with lighttpd version 1.4.56.
And I was able to reproduce the same.
Please file the attachment with issue demonstration video.
- Lighttpd version : 1.4.56
- Linux Version : Linux 4.9.226 kernel (aarch64 Flexible Linux)
1) Start uploading large file from client (i.e browse or postman)PC.
2) Check chunks are being created in upload directory (/var/tmp) of lighttpd server device.
3) Close client network connection before all chunks are received.
4) Again enable client network and check that the temporary chunk files are still present at server directory(/var/tmp).
- Now this temporary chunk files will stay forever.
This isn't tiktok. I'm not interested in seeing you move your mouse.
You haven't provided any new information that is useful, other than that you probably do not understand TCP and how temporary network interruptions do not necessarily cause connections to drop.
If you cleanly shut down the lighttpd server (not
kill -9), do the files get cleaned up? Or if you wait for connection timeouts, do the files get cleaned up?
Also available in: Atom