Re: can a httpd fcgi module start sending generated response while the request message body is still being transmitted to the app?
Thomas H Bowden Jr <[email protected]> Sun, 20 Jan 2013 19:34:04 -0500
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============3493064138012301676== Content-type: multipart/alternative; boundary="Boundary_(ID_AkE5PEsM9vU/XRF+ZFElzQ)" --Boundary_(ID_AkE5PEsM9vU/XRF+ZFElzQ) Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT 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 <[email protected]> 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, [email protected] <[email protected]> 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 > -- > http://xkcd.com/1156/ > > > _______________________________________________ > FastCGI-developers mailing list > FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers --Boundary_(ID_AkE5PEsM9vU/XRF+ZFElzQ) Content-type: text/html; CHARSET=US-ASCII Content-transfer-encoding: quoted-printable <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I = agree with Jay.<div><br></div><div>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 ( = $|=3D1).</div><div><br></div><div><br><div><div>On Jan 20, 2013, at 4:42 = PM, Jay Sprenkle <<a = href=3D"mailto:[email protected]">[email protected]</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite">Wouldn't the web server module control that = behavior?<br>Seems like fastcgi doesn't have any control over what = happens to the data after it's written to the pipe.<br><br><br><div = class=3D"gmail_quote">On Sun, Jan 20, 2013 at 1:33 PM, <a = href=3D"mailto:[email protected]">[email protected]</a> <span = dir=3D"ltr"><<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all!<br> <br> I was trying to send a (chunked-encoding) answer that was being<br> generated after each chunk of the POST-ed message body was being<br> received. I tried with both mod_fcgid and mod_proxy_fcgi and<br> both seem to buffer output until all POSTed message body was<br> delivered to the application<br></blockquote></div>-- <br><i = style=3D"font-size:12px;font-family:Verdana,Helvetica,sans-serif"><a = href=3D"http://xkcd.com/1156/" = target=3D"_blank">http://xkcd.com/1156/</a></i><br><div><font = face=3D"Verdana, Helvetica, sans-serif"><span = style=3D"font-size:12px"><i><br> </i></span></font><div><br></div></div> _______________________________________________<br>FastCGI-developers = mailing list<br><a = href=3D"mailto:FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org">FastCGI-developers@= mailman.fastcgi.com</a><br>http://mailman.fastcgi.com/mailman/listinfo/fas= tcgi-developers<br></blockquote></div><br></div></body></html>= --Boundary_(ID_AkE5PEsM9vU/XRF+ZFElzQ)-- --===============3493064138012301676== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers --===============3493064138012301676==--