moriyoshi Sat Dec 21 01:33:19 2002 EDT Modified files: /php4/sapi/apache2filter sapi_apache2.c Log: Added some notes about the brigade bug detection Index: php4/sapi/apache2filter/sapi_apache2.c diff -u php4/sapi/apache2filter/sapi_apache2.c:1.94 php4/sapi/apache2filter/sapi_apache2.c:1.95 --- php4/sapi/apache2filter/sapi_apache2.c:1.94 Wed Dec 18 14:32:44 2002 +++ php4/sapi/apache2filter/sapi_apache2.c Sat Dec 21 01:33:19 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sapi_apache2.c,v 1.94 2002/12/18 19:32:44 moriyoshi Exp $ */ +/* $Id: sapi_apache2.c,v 1.95 2002/12/21 06:33:19 moriyoshi Exp $ */ #include <fcntl.h> @@ -335,6 +335,16 @@ for (b = APR_BRIGADE_FIRST(bb); b != APR_BRIGADE_SENTINEL(bb); b = APR_BUCKET_NEXT(b)) { apr_bucket_read(b, &str, &n, 1); + + /* + * An intuitive brigade bug detection + * (http://bugs.php.net/18648) + * + * This has something to do with the issue mentioned in this thread + * on [EMAIL PROTECTED]: + * + * http://marc.theaimsgroup.com/?l=apr-dev&m=104039770818472&w=2 + */ if (APR_BUCKET_IS_HEAP(b)) { if ((str == prev_fetched_str && n == prev_fetched_str_len)) { char *brigade_dump = NULL;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php