- ignore empty packets from STDERR stream. fixes #998

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1607 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Elan Ruusamäe 2007-02-05 13:14:21 +00:00
parent 55a713a1a1
commit 1c662e07ba
1 changed files with 2 additions and 0 deletions

View File

@ -2502,6 +2502,8 @@ static int fcgi_demux_response(server *srv, handler_ctx *hctx) {
}
break;
case FCGI_STDERR:
if (packet.len == 0) break;
log_error_write(srv, __FILE__, __LINE__, "sb",
"FastCGI-stderr:", packet.b);