dmitry Wed May 24 09:41:55 2006 UTC Modified files: /php-src/sapi/cgi cgi_main.c Log: Fixed bug #37256 (php-fastcgi dosen't handle connection abort) http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.288&r2=1.289&diff_format=u Index: php-src/sapi/cgi/cgi_main.c diff -u php-src/sapi/cgi/cgi_main.c:1.288 php-src/sapi/cgi/cgi_main.c:1.289 --- php-src/sapi/cgi/cgi_main.c:1.288 Wed May 24 07:52:58 2006 +++ php-src/sapi/cgi/cgi_main.c Wed May 24 09:41:55 2006 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.288 2006/05/24 07:52:58 dmitry Exp $ */ +/* $Id: cgi_main.c,v 1.289 2006/05/24 09:41:55 dmitry Exp $ */ #include "php.h" #include "php_globals.h" @@ -273,7 +273,7 @@ #ifndef PHP_WIN32 !parent && #endif - request && fcgi_flush(request, 0) == -1) { + request && !fcgi_flush(request, 0)) { php_handle_aborted_connection(); } return;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php