iliaa Mon Feb 9 19:30:04 2004 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/sapi/cgi cgi_main.c Log: MFH: Fixed bug #26758 (FastCGI exits immediately with status 255). http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.556&r2=1.1247.2.557&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.556 php-src/NEWS:1.1247.2.557 --- php-src/NEWS:1.1247.2.556 Mon Feb 9 19:03:43 2004 +++ php-src/NEWS Mon Feb 9 19:30:01 2004 @@ -11,6 +11,8 @@ - Fixed bug #27135 (Possible crash inside mb_strlen()). (Moriyoshi) - Fixed bug #27026 (Added cgi.nph that allows forcing of the Status: 200 header that is not normally needed). (Ilia) +- Fixed bug #26758 (FastCGI exits immediately with status 255). (Ilia, + tcarter at noggin dot com dot au) - Fixed bug #24773 (unseting of strings as arrays causes a crash). (Sara) 03 Feb 2004, Version 4.3.5RC2 http://cvs.php.net/diff.php/php-src/sapi/cgi/cgi_main.c?r1=1.190.2.54&r2=1.190.2.55&ty=u Index: php-src/sapi/cgi/cgi_main.c diff -u php-src/sapi/cgi/cgi_main.c:1.190.2.54 php-src/sapi/cgi/cgi_main.c:1.190.2.55 --- php-src/sapi/cgi/cgi_main.c:1.190.2.54 Mon Feb 9 19:03:44 2004 +++ php-src/sapi/cgi/cgi_main.c Mon Feb 9 19:30:03 2004 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.190.2.54 2004/02/10 00:03:44 iliaa Exp $ */ +/* $Id: cgi_main.c,v 1.190.2.55 2004/02/10 00:30:03 iliaa Exp $ */ #include "php.h" #include "php_globals.h" @@ -275,7 +275,7 @@ #if PHP_FASTCGI if (!FCGX_IsCGI()) { FCGX_Request *request = (FCGX_Request *)server_context; - if(!request || FCGX_FFlush( request->out ) == -1 ) { + if (!parent && (!request || FCGX_FFlush(request->out) == -1)) { php_handle_aborted_connection(); } return;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php