Yasuo Ohgaki wrote:

> ID: 14226
> User updated by: [EMAIL PROTECTED]
> Reported By: [EMAIL PROTECTED]
> Status: Open
> Bug Type: Output Control
> Operating System: Linux 2.4.4/glibc 2.2.2
> PHP Version: 4.1.0RC CVS (2001/12/2)
> New Comment:
> 
> Ok I think I found what's wrong in PHP.
> If zlib.output_compression is enabled and the zlib output compression handler is 
>deleted from php_ob_buffer,  output will not be sent.
> 
> I'll leave the real fix for people who knows about zlib output compression and 
>output buffering.
> 
> I just need to know nesting level to make my script work as I want. I'll send patch  
>for the new function later.
>


This bug may cause segfualt (SIGPIPE).

This patch will not fix all the problems for nested output
buffers. Another output handler list is required to fix this bug
completely, I think.

Anyway, this patch fix problem partially. Hopefully, most of users
will not notice partial output buffer fix. I don't have much time
to spent to fix the problem now. It's better than nothing, right?

New ob_get_level() function is in this patch.
Comments are welcome.

--
Yasuo Ohgaki

Attachment: output_buff_patch.tar.gz
Description: GNU Zip compressed data

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to