Fix mod_fastcgi bin-path check

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2646 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.24
Stefan Bühler 2009-10-12 21:49:01 +00:00
parent 20c4cd55c3
commit b9f5f1de8c
1 changed files with 1 additions and 1 deletions

View File

@ -2729,7 +2729,7 @@ static int fcgi_restart_dead_procs(server *srv, plugin_data *p, fcgi_extension_h
/* local procs get restarted by us,
* remote ones hopefully by the admin */
if (host->bin_path) {
if (!buffer_is_empty(host->bin_path)) {
/* we still have connections bound to this proc,
* let them terminate first */
if (proc->load != 0) break;