Re: [PHP] Re: proc_open, fwrite, 16384 bytes magic

2005-11-02 Thread Curt Zirzow
On Wed, 02 Nov 2005 10:38:15 +0100, max wrote: >> In this case are you sure that the file is being sent via proc_open()? >> can you provide a simplified script that does this? > > Sure, here's a test script, the output from it, and a few words on the > email I receive: >$descriptorspec = arra

Re: [PHP] Re: proc_open, fwrite, 16384 bytes magic

2005-11-02 Thread max
> In this case are you sure that the file is being sent via proc_open()? can > you provide a simplified script that does this? Sure, here's a test script, the output from it, and a few words on the email I receive: array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("file", "/tmp/err

[PHP] Re: proc_open, fwrite, 16384 bytes magic

2005-11-01 Thread Curt Zirzow
On Tue, 01 Nov 2005 19:10:31 +0100, Max Belushkin wrote: >Hi everyone, > > I've ran into a rather strange problem with Apache 2.0.x, PHP 4.4.0, > FreeBSD. When I proc_open qmail-inject, the first 16384 bytes from a > buffer are accepted perfectly, which makes it an exact 16 KB. If a buffer