r2136@chromobil: stefan | 2008-02-28 22:18:14 +0100

Fix sending source of cgi script instead of 500 error if fork fails


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2107 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.19
Stefan Bühler 15 years ago
parent 0adc0af5fd
commit c065f36bc1
  1. 1
      NEWS
  2. 1
      src/mod_cgi.c

@ -45,6 +45,7 @@ NEWS
* remove compress cache file if compression or write failed (#1150)
* fixed body handling of status 300 requests
* spawn-fcgi: only try to connect to unix socket (not tcp) before spawning (#1575)
* fix sending source of cgi script instead of 500 error if fork fails
- 1.4.18 - 2007-09-09

@ -1004,6 +1004,7 @@ static int cgi_create_env(server *srv, connection *con, plugin_data *p, buffer *
case -1:
/* error */
log_error_write(srv, __FILE__, __LINE__, "ss", "fork failed:", strerror(errno));
return -1;
break;
default: {
handler_ctx *hctx;

Loading…
Cancel
Save