diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-06-21 08:40:43 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-06-21 08:40:43 +0000 |
commit | 5d2180835aced8969da9b3a9462265c656082b6a (patch) | |
tree | 88f4bcfbda562d3a8d35a97d77a688c012b14ff7 /sapi/cgi | |
parent | ebb9408202854df1acb1c26c7715881f3474c68f (diff) | |
download | php-git-5d2180835aced8969da9b3a9462265c656082b6a.tar.gz |
no need to return exit status of the last fastcgi request
Diffstat (limited to 'sapi/cgi')
-rw-r--r-- | sapi/cgi/cgi_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 3e70e45523..67559d6895 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1834,6 +1834,10 @@ fastcgi_request_done: if (bindpath) { free(bindpath); } + if (max_requests != 1) { + /* no need to return exit_status of the last request */ + exit_status = 0; + } break; } /* end of fastcgi loop */ |