Browse Source

print usefull information if the backend crashes for some reason

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@912 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 16 years ago
parent
commit
ab8493f603
  1. 7
      src/mod_fastcgi.c

7
src/mod_fastcgi.c

@ -2273,11 +2273,12 @@ 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 {
log_error_write(srv, __FILE__, __LINE__, "ssdsdsd",
log_error_write(srv, __FILE__, __LINE__, "ssdsbsbsd",
"unexpected end-of-file (perhaps the fastcgi process died):",
"pid:", proc->pid,
"fcgi-fd:", fcgi_fd,
"remote-fd:", con->fd);
"socket:", proc->socket,
"host:", host->host,
"port:", proc->port);
return -1;
}

Loading…
Cancel
Save