Welcome! Log In Create A New Profile

Advanced

multiple connections to a fastcgi server

mscherer82@gmail.com
May 03, 2011 07:04AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

multiple connections to a fastcgi server

mscherer82@gmail.com May 03, 2011 07:04AM

Re: multiple connections to a fastcgi server

Maxim Dounin May 03, 2011 08:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 138
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready