multiple connections to a fastcgi server

mscherer82 at gmail.com mscherer82 at gmail.com
Tue May 3 15:01:53 MSD 2011


Hello,

I want to build a fast cgi server application which can handle
multiple simoultanous calls. I found the threaded.c (or threaded.pl)
example in the fast cgi sdk.
(http://www.fastcgi.com/devkit/examples/threaded.c)

But when running with my current configuration, the webserver only
opens one connection at time and the second requests is waiting until
the first one is finished. I don't want to use multiplexing. It could
be done through multiple connections.


default:

server {
...
       location ~ \.c$ {
         include /etc/nginx/fastcgi_params; #or whatever you named it
       #  fastcgi_pass unix:/tmp/c.socket;
         fastcgi_pass 127.0.0.1:9000;
       }
}

Is it possible to change this behaviour?

Thanks
Marc



More information about the nginx mailing list