buffering large input and output

Andreas Bartelt <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi,

I've written a small FastCGI application that receives about 150kb input data
from each client and sends about the same amount of data back to them. I'm using
FreeBSD 5.2.1/Apache 2 (worker)/mod_fastcgi.

I'd like to have fully buffered input and output to make sure that slow clients
(low bandwidth) don't slow down other clients waiting for their data from the
fastcgi application.

In mod_fastcgi.h I've found the following lines:
#define FCGI_MSGS_BUFSIZE  32 * 512
#define SERVER_BUFSIZE 8192

Is it neccessary to increase these values or is the buffer size adjusted
automatically during runtime? What are the biggest values possible?

Thanks in advance for any help.

Regards,
Andreas

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.