dmitry Wed May 24 09:42:21 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src NEWS
/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/NEWS?r1=1.2027.2.547.2.42&r2=1.2027.2.547.2.43&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.42 php-src/NEWS:1.2027.2.547.2.43
--- php-src/NEWS:1.2027.2.547.2.42 Wed May 24 07:55:18 2006
+++ php-src/NEWS Wed May 24 09:42:21 2006
@@ -72,6 +72,7 @@
- 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)
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.2&r2=1.267.2.15.2.3&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.2
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.3
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.2 Wed May 24 07:55:19 2006
+++ php-src/sapi/cgi/cgi_main.c Wed May 24 09:42:21 2006
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.267.2.15.2.2 2006/05/24 07:55:19 dmitry Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.3 2006/05/24 09:42:21 dmitry Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -282,7 +282,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