aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.c (follow)
Commit message (Expand)AuthorAgeLines
* Do not send debug messages to syslog by default6.8.1Wynn Wolf Arbor2021-01-26-0/+3
* Allow specifying -d multiple times. Only print the fcgi header data if debug ...claudio2020-05-24-7/+4
* Just a bit of KNF. OK florian@claudio2020-05-24-4/+4
* Use -1 instead of WAIT_ANYWynn Wolf Arbor2020-05-24-1/+1
* Add getdtablecount(2)Wynn Wolf Arbor2020-05-24-0/+1
* Include grp.hWynn Wolf Arbor2020-05-24-0/+1
* Add queue.h from OpenBSDWynn Wolf Arbor2020-05-24-1/+2
* Add strlcpy(3) from OpenBSDWynn Wolf Arbor2020-05-24-0/+6
* Use pledge(2) only on OpenBSDWynn Wolf Arbor2020-05-24-0/+4
* Use corresponding attributes for __packed and __deadWynn Wolf Arbor2020-05-24-0/+8
* When calculating the fd limit before accepting a new connection also account ...claudio2020-05-24-2/+2
* Call daemon with 0 as first argument so that it changes the cwd to /. It is n...florian2020-05-24-2/+2
* Make the owner of fcgi socket configurable.florian2020-05-24-6/+12
* consistently use the evtimer wrappers around the connection timeout.florian2020-05-24-3/+3
* Sync the severity of the syslog_* functions shared between identd, slowcgi, t...florian2020-05-24-5/+5
* 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