Re: Fwd: [PHP-DEV] Output Buffering problem w/ PHP-4.0.5RC2

From: Date: Sun, 01 Apr 2001 10:40:46 +0000
Subject: Re: Fwd: [PHP-DEV] Output Buffering problem w/ PHP-4.0.5RC2
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-2698@lists.php.net to get a copy of this message
php_end_ob_buffer() is called twice. During the first run, (invoked from apache_php_module_main) line 161 of output.c causes output_handler to be freed: zval_ptr_dtor(&OG(active_ob_buffer).output_handler); And because of that, the contents of output_handler are invalid during the second run (invoked from php_request_shutdown). I'm not sure what the root of the problem is here though. The attached patch fixes it for me. - Sascha Experience IRCG http://schumann.cx/ http://schumann.cx/ircg

« previous php.qa (#2698) next »