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:
parent
47cddfd4f3
commit
1371c87c34
1
NEWS
1
NEWS
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue