fix out-of-filedescriptors when uploading "large" files (fixes #2660, thx rmilecki)

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3009 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Stefan Bühler 2015-08-13 18:44:27 +00:00
parent 47cddfd4f3
commit 1371c87c34
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -6,6 +6,7 @@ NEWS
- 1.4.37
* [mod_proxy] remove debug log line from error log (fixes #2659)
* [mod_dirlisting] fix dir-listing.set-footer not showing
* fix out-of-filedescriptors when uploading "large" files (fixes #2660, thx rmilecki)
- 1.4.36 - 2015-07-26
* use keep-alive timeout while waiting for HTTP headers; use always the read timeout while waiting for the HTTP body

View File

@ -432,7 +432,7 @@ static int chunkqueue_append_to_tempfile(server *srv, chunkqueue *dest, const ch
* */
if (NULL != dest->last
&& FILE_CHUNK != dest->last->type
&& FILE_CHUNK == dest->last->type
&& dest->last->file.is_temp
&& -1 != dest->last->file.fd
&& 0 == dest->last->offset) {