Re: [Mod-fcgid-users] fcgid large file uploading and input buffering

2007-07-11 Thread Ryan pan
Hi, mod_fcgid buffer http request, because: 1. Decrease the number of FastCGI process, because all FastCGI processes don't have to wait for the total http request. 2. mod_fcgid is able to retry another FastCGI process, if read no respond from one FastCGI process(and kick out this process, re

Re: [Mod-fcgid-users] fcgid large file uploading and input buffering

2007-07-11 Thread Gabriel Barazer
Hi, Very good improvement ! But isn't it possible to disable entirely the fcgid input buffering ? Some applications, particularly PHP are already designed to handle the input processing, and if we pre-buffer the request into mod_fcgid (thanks, this isn't a DoS risk anymore :) ), features like

Re: [Mod-fcgid-users] fcgid large file uploading and input buffering

2007-07-11 Thread 潘庆峰
Hi, Please check the latest cvs tree for new source code. The new release has fix this problem. Now mod_fcgid will swap the http request to disk if it's longer than 64k :) And I added two configurations: MaxRequestLen( default 1G byte, return internal server error if http request

[Mod-fcgid-users] fcgid large file uploading and input buffering

2007-04-30 Thread Gabriel Barazer
Hello, I experienced recently some problmes since a customer is doing large file uploads with PHP (which is run by mod_fcgid, of course) : It seems mod_fcgid is consuming much memory when uploading a file to PHP. I found in the source file fcgid_bridge.c:473 the problem : as said in the source