Re: [PATCH] bug #34429 - Output buffering cannot be turned off with FastCGI
| From: | Michael Wallner | Date: | Fri, 09 Dec 2005 10:09:52 +0000 |
| Subject: | Re: [PATCH] bug #34429 - Output buffering cannot be turned off with FastCGI | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21132@lists.php.net to get a copy of this message | ||
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