diff options
| author | Dmitry Stogov <dmitry@php.net> | 2006-05-24 09:42:21 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2006-05-24 09:42:21 +0000 |
| commit | 6fe36adf0cf2d20649ffc9fa1e91d75eca492169 (patch) | |
| tree | 964e45471d4599394c48ac3b10f51495bacdb97a | |
| parent | 07b8d051fa9565bf07a1c408e3f467c1243b9ec7 (diff) | |
| download | php-git-6fe36adf0cf2d20649ffc9fa1e91d75eca492169.tar.gz | |
Fixed bug #37256 (php-fastcgi dosen't handle connection abort)
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | sapi/cgi/cgi_main.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -72,6 +72,7 @@ PHP NEWS - Fixed bug #37313 (sigemptyset() used without including <signal.h>). (jdolecek) - Fixed bug #37306 (max_execution_time = max_input_time). (Dmitry) +- Fixed bug #37256 (php-fastcgi dosen't handle connection abort). (Dmitry) - Fixed bug #37244 (Added strict flag to base64_decode() that enforces RFC3548 compliance). (Ilia) - Fixed bug #36630 (umask not reset at the end of the request). (Ilia) diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 1c13747214..eb8f50f240 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -282,7 +282,7 @@ static void sapi_cgibin_flush(void *server_context) #ifndef PHP_WIN32 !parent && #endif - request && fcgi_flush(request, 0) == -1) { + request && !fcgi_flush(request, 0)) { php_handle_aborted_connection(); } return; |
