Browse Source

- do not check stale values on errno. EAGAIN is handled inside the

function already. (#1245)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1879 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.16
Marcus Rückert 15 years ago
parent
commit
abdd1f5b45
  1. 2
      NEWS
  2. 1
      src/mod_fastcgi.c

2
NEWS

@ -19,6 +19,8 @@ NEWS
(reported by Stefan Esser)
* fixed possible crash in Auth-Digest header parser on trailing WS in
mod_auth (reported by Stefan Esser)
* fixed check on stale errno values, which broke handling of broken fastcgi
applications. (#1245)
- 1.4.15 - 2007-04-13

1
src/mod_fastcgi.c

@ -2440,7 +2440,6 @@ static int fcgi_demux_response(server *srv, handler_ctx *hctx) {
b->used = r + 1; /* one extra for the fake \0 */
b->ptr[b->used - 1] = '\0';
} else {
if (errno == EAGAIN) return 0;
log_error_write(srv, __FILE__, __LINE__, "ssdsb",
"unexpected end-of-file (perhaps the fastcgi process died):",
"pid:", proc->pid,

Loading…
Cancel
Save