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
This commit is contained in:
Jan Kneschke 2006-01-03 15:20:47 +00:00
parent 28db0418f2
commit ab8493f603
1 changed files with 4 additions and 3 deletions

View File

@ -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;
}