jorton Thu Oct 21 15:43:37 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/sapi/apache2handler sapi_apache2.c Log: MFH: Fix case where php_handle_aborted_connection was called outside a try/end_try block (#25570). http://cvs.php.net/diff.php/php-src/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.33&r2=1.1.2.34&ty=u Index: php-src/sapi/apache2handler/sapi_apache2.c diff -u php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.33 php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.34 --- php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.33 Tue Jul 20 16:48:01 2004 +++ php-src/sapi/apache2handler/sapi_apache2.c Thu Oct 21 15:43:37 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sapi_apache2.c,v 1.1.2.33 2004/07/20 20:48:01 moriyoshi Exp $ */ +/* $Id: sapi_apache2.c,v 1.1.2.34 2004/10/21 19:43:37 jorton Exp $ */ #include <fcntl.h> @@ -562,7 +562,9 @@ rv = ap_pass_brigade(r->output_filters, brigade); if (rv != APR_SUCCESS || r->connection->aborted) { +zend_first_try { php_handle_aborted_connection(); +} zend_end_try(); } apr_brigade_cleanup(brigade); } else {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php