aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.c (unfollow)
Commit message (Expand)AuthorLines
2020-05-24Fix a potential file descriptor overlap in exec_cgi() by making sure that fil...florian-2/+26
2020-05-24We need to loop around waitpid to catch all exited children as we are not gua...florian-19/+20
2020-05-24Do not leak fds in fork(2) error path. pointed out by deraadt@florian-1/+17
2020-05-24Check for EINTR, too. pointed out by deraadt@florian-3/+3
2020-05-24No need for volatile here. pointed out by deraadt@florian-2/+2
2020-05-24spelling, spacing, etcderaadt-18/+20
2020-05-24reserve file descriptors for incoming connections so we will be able to actua...benno-3/+35
2020-05-24Keep track of which fds were closed before and only close those still open. O...florian-4/+16
2020-05-24Do not fiddle with the response queue directly but go through a new slowcgi_a...florian-9/+12
2020-05-24Logging to syslog works better with openlog(3). OK blambertflorian-1/+7
2020-05-24Use a dedicated socketpair for stdin, makes the code more symetric and gets r...florian-15/+25
2020-05-24Calculate correct pointer for fcgi_{begin,end}_request_body. input / OK blambertflorian-3/+3
2020-05-24Calculate correct pointer for end_request; while there initialize reserved to...florian-3/+6
2020-05-24set FD_CLOEXEC OK blambertflorian-1/+8
2020-05-24adjust the names to more accurately reflect the names of structs and function...blambert-65/+65
2020-05-24Sprinkle some comments which clarify the protocol/process flow.blambert-1/+18
2020-05-24When dumping FastCGI protocol headers during debug, dump the "request begin" ...blambert-8/+43
2020-05-24Use the correct buffer size for memory allocation and reads.blambert-5/+9
2020-05-24If the CGI script died due to receipt of signal, pass that back to the HTTP f...blambert-6/+20
2020-05-24slowcgi grows an option to specify an alternate FastCGI socket on which to li...blambert-6/+11
2020-05-24Give slowcgi a style(9) scrubbing. No functional change.blambert-41/+47
2020-05-24move bgplg and slowcgi sockets to /var/www/run input reyk@, guenther@ "move f...florian-2/+2
2020-05-24off by one, from Henri Kemppainen <duclare-at-guu.fi>, thanks!florian-2/+2
2020-05-24Fix pasto where 'c' instead of 'clients' is checked for NULL and add missing ...jasper-2/+3