RE: [PHP-DEV] [PATCH] bug #34429 - Output buffering cannot be turnedoff with FastCGI
| From: | Dmitry Stogov | Date: | Fri, 09 Dec 2005 12:56:17 +0000 |
| Subject: | RE: [PHP-DEV] [PATCH] bug #34429 - Output buffering cannot be turnedoff with FastCGI | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21137@lists.php.net to get a copy of this message | ||
So the problem in mod_fcgi or Apache configuration.
I made tests with ZendEnabler and it works (It is available as part of
ZendCore).
Thanks. Dmitry.
> -----Original Message-----
> From: Michael Wallner [mailto:mike@php.net]
> Sent: Friday, December 09, 2005 1:10 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] [PATCH] bug #34429 - Output buffering
> cannot be turnedoff with FastCGI
>
>
> Hi Ilya M. Slepnev, you wrote:
> > Hi Dmitry,
> >
> > What about adding "if (request) " at the beginning of the
> > "flush_result = FCGX_FFlush(request->out);" string? You
> see, you have
> > to do that call, because else you are not flushing at all
> in fastcgi
> > mode at all!-)
>
> Yes, it now makes fcgi flush it's data down the socket [1],
> but apaches filter brigade still keeps buffering for me (I'm
> using Apache2 with mod-fcgid), even if I set OutputBufferSize
> to 0. I'll have another look at it, when I've got some time.
>
>
> [1] http://dev.iworks.at/PATCHES/bug_34429_fcgi_flush.diff.txt
>
>
> Regards,
> --
> Michael - <mike(@)php.net>
> http://dev.iworks.at/ext-http/http-functions.html.gz
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>