Re: [users@httpd] mod-cgi reads entire output into memory...

2012-07-17 Thread Nadav Har'El
On Tue, Jul 17, 2012, Nadav Har'El wrote about "Re: [users@httpd] mod-cgi reads entire output into memory...": > I "almost" have such code, but ran into a mystery - where in the > request_req can I find the client socket, so I can write to it directly? > There ar

Re: [users@httpd] mod-cgi reads entire output into memory...

2012-07-16 Thread Nadav Har'El
On Mon, Jul 16, 2012, Nick Kew wrote about "Re: [users@httpd] mod-cgi reads entire output into memory...": > On Mon, 16 Jul 2012 17:07:23 +0300 > Nadav Har'El wrote: > > I looked at the httpd code, discovered (if I understand correctly) that > > 1. As I alread

[users@httpd] mod-cgi reads entire output into memory...

2012-07-16 Thread Nadav Har'El
ave good reasons to use it ;-) But I wonder (I didn't test) - is this problem specific to CGI? What happens when we serve a huge disk *file*, and we can read it faster than we can send it - does the bucket brigade also grow indefinitely? Thanks,