FastCGI with several threads on Apache

Mantas Urbonavicius <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi everyone,

I wonder if I understood the mod_fastcgi documentation correctly: it sais it
does not support FastCGI protocol's "multiplexing" feature. Yet again it claims
"application is not prevented from serving multiple simultaneous requests over
independent connections", provided that application is designed to "use a
threaded or select/poll based server model". So how should one use that threaded
model?

I've tried the threaded example, and noticed that it works unstable (at least on
my machine) unless I modify that sample and synchronize the whole accept_r...
finish_r loop. 

Do I understand it correctly - i'm not allowed to serve several connections at
the same time using mod_fastcgi (I mean, in the context of the same process) ?

I'm on WinXP sp2; using Apache 1.3 for win32, fastcgi 2.4.0, mod_fastcgi.dll
2.4.2-AP1.3, pthreadsVC1.dll (2005-03-08). The threaded example is configured as
a 'dynamic' server in httpd.conf

Are there any known ways to have multiple threads serving requests
simultaneously under Apache ? Did anyone have positive experience in that ?

best regards
--
mantas

___________________________________
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.