aboutsummaryrefslogtreecommitdiff
path: root/fcgiwrap.c
AgeCommit message (Collapse)AuthorLines
2012-08-19Cleanup -Wmissing-prototypes compiler warningsFurkan Sahin-5/+5
2012-08-19Add support for socket activation via systemdFurkan Sahin-0/+12
This prevents the need for starting fcgiwrap explicitly, or using a tool such as spawn-fcgi. The type of socket does not matter, we merely accept a single FD passed from pid 1 and listen on it.
2012-08-19split listen() logic into separate functionFurkan Sahin-18/+24
2011-12-07Create -f option to allow sending stderr to fcgi logsFurkan Sahin-2/+10
2010-08-14fixing compilation under FreeBSDFurkan Sahin-0/+1
2010-06-03Add `-s' option to enable binding by fcgiwrap itselfFurkan Sahin-2/+123
This should ease testing and deployment in simpler cases
2010-06-03Use SCRIPT_FILENAME environment variable when availableFurkan Sahin-1/+5
If present, it overrides DOCUMENT_ROOT and SCRIPT_NAME and prevents mangling of PATH_INFO. Should allow cleaner configs when script names don't come from request URIs directly.
2010-05-25adjusted option _-c_ help textFurkan Sahin-1/+1
2010-05-25fcgiwrap to rely on definitions provided by autoconf/autoreconfFurkan Sahin-4/+4
2010-05-25nitpicks as described in today's email to MarkFurkan Sahin-4/+4
Signed-off-by: W-Mark Kubacki <wmark@hurrikane.de>
2010-03-22help screen, along with version set to 1.0Furkan Sahin-1/+13
2009-07-17Compile fixes for OpenBSDFurkan Sahin-2/+3
Thanks to Toni Mueller, original author of the patch
2009-03-17Officially release fcgiwrap under the MIT licenceFurkan Sahin-0/+25
2009-03-17Close child's pipe ends after dup2()ing them to the right placesFurkan Sahin-0/+4
Thanks to Fenixk19 for the report and patch.
2009-02-28Better diagnostics for 403 errorsFurkan Sahin-12/+19
Passed via FastCGI stderr, so should end up in webserver's error log
2009-02-28Simple prefork supportFurkan Sahin-2/+81
(start as fcgiwrap -c <num-children>, with a suitable socket on FD 0)
2008-12-03Don't eat characters after final CR/LFFurkan Sahin-2/+2
2008-06-10Restore default SIGCHLD handler (also SIGPIPE for completeness)Furkan Sahin-0/+2
2008-06-10Keep passing data from CGI to FastCGI even after a descriptor closes earlyFurkan Sahin-1/+1
2008-05-05Fix CR/LF mangling to skip response bodyFurkan Sahin-0/+5
2008-05-05Split out passing the request to a separate functionFurkan Sahin-6/+17
2008-03-22Fix off-by-one while walking the bufferFurkan Sahin-1/+1
2008-03-22Use a much prettier state machineFurkan Sahin-53/+71
2008-03-22Implement a simple state machine to fixup CGI reply line endingsFurkan Sahin-8/+88
2008-03-22Inherit environment from parent in CGI processesFurkan Sahin-0/+68
2008-03-16Fix classic off-by-one in select() callFurkan Sahin-1/+1
2008-03-16Send CGI stderr to real stderr, not to fastcgi streamFurkan Sahin-2/+20
2008-03-16Use INT_MIN instead of -1 as sentinel in max_va()Furkan Sahin-2/+5
2008-03-16Chdir to script's directory before exec (per CGI spec)Furkan Sahin-0/+15
2007-09-30Mostly rewritten for robustness and prettier codeFurkan Sahin-44/+159
2007-03-10Improved CGI permission logicFurkan Sahin-9/+37
Symlinks are now allowed if owner matches
2007-03-10Initial commitFurkan Sahin-0/+170