From b9f5f1de8c5f167cd1493614e31016208bc4d840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Mon, 12 Oct 2009 21:49:01 +0000 Subject: [PATCH] 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 --- src/mod_fastcgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_fastcgi.c b/src/mod_fastcgi.c index 4e3a3355..5bc4fb7d 100644 --- a/src/mod_fastcgi.c +++ b/src/mod_fastcgi.c @@ -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;