diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2010-07-20 13:03:00 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2010-07-20 13:03:00 +0000 |
commit | e8882f0dbcced3fe02056e14d78fcb3313b9a235 (patch) | |
tree | d644d9c512fa60b6c26f1b344d0e9ecda45b9b33 /www/fcgiwrap/files | |
parent | 93bedc3013dc3ca84881d664951d26c8c556741e (diff) | |
download | ports-e8882f0dbcced3fe02056e14d78fcb3313b9a235.tar.gz ports-e8882f0dbcced3fe02056e14d78fcb3313b9a235.zip |
fcgiwrap is a simple server for running CGI applications over FastCGI. It hopes
to provide clean CGI support to Nginx (and other web servers that may need it).
Features:
* very lightweight (84KB of private memory per instance)
* fixes broken CR/LF in headers
* handles environment in a sane way (CGI scripts get HTTP-related env. vars
* from FastCGI parameters and inherit all the others from fcgiwrap's
* environment)
* no configuration, so you can run several sites off the same fcgiwrap pool
* passes CGI stderr output to fcgiwrap's stderr (this is by design but
* stderr could be also passed to FastCGI stderr stream)
WWW: http://nginx.localdomain.pl/wiki/FcgiWrap
PR: ports/148649
Submitted by: Bapt <baptiste.daroussin at gmail.com>
Notes
Notes:
svn path=/head/; revision=257991
Diffstat (limited to 'www/fcgiwrap/files')
-rw-r--r-- | www/fcgiwrap/files/patch-fcgiwrap.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/fcgiwrap/files/patch-fcgiwrap.c b/www/fcgiwrap/files/patch-fcgiwrap.c new file mode 100644 index 000000000000..cc403e506e08 --- /dev/null +++ b/www/fcgiwrap/files/patch-fcgiwrap.c @@ -0,0 +1,10 @@ +--- ./fcgiwrap.c.orig 2010-06-03 16:18:21.000000000 +0200 ++++ ./fcgiwrap.c 2010-06-15 14:54:38.232029168 +0200 +@@ -43,6 +43,7 @@ + #include <ctype.h> + + #include <arpa/inet.h> ++#include <netinet/in.h> + #include <sys/socket.h> + #include <sys/un.h> + |