[FASTCGI] can a httpd fcgi module start sending generated response while the request message body is still being transmitted to the app?
dbchel at gmail.com
Mon Jan 21 13:23:21 EST 2013
The mod_fastcgi library has an internal buffer that it uses to improve efficiency back to the HTTP process. You can tune it if you like; I would often crank it way up so the application could dump the whole output without having to wait for the client to receive.
On Jan 20, 2013, at 4:34 PM, Thomas H Bowden Jr <charles_thomas at mac.com> wrote:
> I agree with Jay.
> My web-server (by force) has always been apache. I use perl scripts for anything that is not c++. In there I have to unbuffer stdin/stdout ( $|=1).
> On Jan 20, 2013, at 4:42 PM, Jay Sprenkle <jsprenkle at gmail.com> wrote:
>> Wouldn't the web server module control that behavior?
>> Seems like fastcgi doesn't have any control over what happens to the data after it's written to the pipe.
>> On Sun, Jan 20, 2013 at 1:33 PM, tandread at otenet.gr <tandread at otenet.gr> wrote:
>>> Hi all!
>>> I was trying to send a (chunked-encoding) answer that was being
>>> generated after each chunk of the POST-ed message body was being
>>> received. I tried with both mod_fcgid and mod_proxy_fcgi and
>>> both seem to buffer output until all POSTed message body was
>>> delivered to the application
>> FastCGI-developers mailing list
>> FastCGI-developers at mailman.fastcgi.com
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FastCGI-developers