aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.c (follow)
Commit message (Expand)AuthorAgeLines
* Add format attribute to logger functions. Fix format string while here. Input...florian2020-05-24-15/+28
* As suggested by the FastCGI spec, zero-pad the response buffers to be aligned...reyk2020-05-24-3/+22
* typo in error message: to -> tootb@openbsd.org2020-05-24-2/+2
* pledge(2) for slowcgi. After initialization slowcgi accepts from a AF_UNIX so...florian2020-05-24-1/+6
* re-shuffle slowcgi_listen to run less code as root. OK benno@florian2020-05-24-15/+16
* Output the contents of the environment in debug mode which is most helpful in...millert2020-05-24-1/+2
* Clean up includes, while here fix a white space which lead to a false positiv...florian2020-05-24-5/+5
* The kernel doesn't actually care what a sockaddr's sa_len is on input, so don...guenther2020-05-24-5/+3
* Replace <sys/param.h> with <limits.h> and other less dirty headers where poss...deraadt2020-05-24-4/+5
* read(2) returns ssize_t, not size_tblambert2020-05-24-2/+3
* Bail out if the buffer is too small to contain the length of a parameter valu...florian2020-05-24-4/+4
* dead stores; pointed out by llvm scan-build; no binary changeflorian2020-05-24-5/+1
* pause shadows global; pointed out by gcc; no binary changeflorian2020-05-24-5/+5
* mode is unused; pointed out by gcc; no binary changeflorian2020-05-24-2/+2
* declare lerr and lerrx __dead; unconfuses llvm scan-buildflorian2020-05-24-12/+12
* Instead of doing the fcntl(2) and ioctl(2) song and dance just tell socket(2)...florian2020-05-24-11/+5
* Use lerrx instead of errx since the logging subsystem is already initialized....claudio2020-05-24-3/+3
* Implement -u (user to drop privs to) and -p flag (path to chroot to). This al...florian2020-05-24-12/+29
* Cleanup socket creation. Input ajacoutot some time ago; OK henning@florian2020-05-24-10/+7
* My previous attempt to chdir(2) to the directory containing the cgi script wa...florian2020-05-24-5/+10
* Calculate the length of name and value for parameters the right way around fo...florian2020-05-24-6/+6
* httpd(8) did a chdir(2) to the directory containing the cgi script. As there ...florian2020-05-24-1/+10
* jturner pointed out that if one wants to run cgi scripts outside /cgi-bin SCR...florian2020-05-24-2/+6
* fix reaper loop that could run indefinitelydjm2020-05-24-2/+5
* Initialize sun_len, pointed out by deraadt@. While there also check length of...florian2020-05-24-2/+6
* Fix a potential file descriptor overlap in exec_cgi() by making sure that fil...florian2020-05-24-2/+26
* We need to loop around waitpid to catch all exited children as we are not gua...florian2020-05-24-19/+20
* Do not leak fds in fork(2) error path. pointed out by deraadt@florian2020-05-24-1/+17
* Check for EINTR, too. pointed out by deraadt@florian2020-05-24-3/+3
* No need for volatile here. pointed out by deraadt@florian2020-05-24-2/+2
* spelling, spacing, etcderaadt2020-05-24-18/+20
* reserve file descriptors for incoming connections so we will be able to actua...benno2020-05-24-3/+35
* Keep track of which fds were closed before and only close those still open. O...florian2020-05-24-4/+16
* Do not fiddle with the response queue directly but go through a new slowcgi_a...florian2020-05-24-9/+12
* Logging to syslog works better with openlog(3). OK blambertflorian2020-05-24-1/+7
* Use a dedicated socketpair for stdin, makes the code more symetric and gets r...florian2020-05-24-15/+25
* Calculate correct pointer for fcgi_{begin,end}_request_body. input / OK blambertflorian2020-05-24-3/+3
* Calculate correct pointer for end_request; while there initialize reserved to...florian2020-05-24-3/+6
* set FD_CLOEXEC OK blambertflorian2020-05-24-1/+8
* adjust the names to more accurately reflect the names of structs and function...blambert2020-05-24-65/+65
* Sprinkle some comments which clarify the protocol/process flow.blambert2020-05-24-1/+18
* When dumping FastCGI protocol headers during debug, dump the "request begin" ...blambert2020-05-24-8/+43
* Use the correct buffer size for memory allocation and reads.blambert2020-05-24-5/+9
* If the CGI script died due to receipt of signal, pass that back to the HTTP f...blambert2020-05-24-6/+20
* slowcgi grows an option to specify an alternate FastCGI socket on which to li...blambert2020-05-24-6/+11
* Give slowcgi a style(9) scrubbing. No functional change.blambert2020-05-24-41/+47
* move bgplg and slowcgi sockets to /var/www/run input reyk@, guenther@ "move f...florian2020-05-24-2/+2
* off by one, from Henri Kemppainen <duclare-at-guu.fi>, thanks!florian2020-05-24-2/+2
* Fix pasto where 'c' instead of 'clients' is checked for NULL and add missing ...jasper2020-05-24-2/+3
* Put slowcgi(8) a FastCGI to CGI wrapper in to work on it in tree. Not hooked ...florian2020-05-24-0/+1030