Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2020-05-24 | spelling, spacing, etc | deraadt | -18/+20 | |
2020-05-24 | reserve file descriptors for incoming connections so we will be able to ↵ | benno | -3/+35 | |
actually run the cgi for them later on. mirrored on relayd. ok florian@ blambert@ | ||||
2020-05-24 | Keep track of which fds were closed before and only close those still open. ↵ | florian | -4/+16 | |
Otherwise if there are parallel requests and the timing is just right we were closing random fds from other connections. OK blambert | ||||
2020-05-24 | Do not fiddle with the response queue directly but go through a new ↵ | florian | -9/+12 | |
slowcgi_add_response() function. This ensures that we always do an event_add. OK blambert | ||||
2020-05-24 | Logging to syslog works better with openlog(3). OK blambert | florian | -1/+7 | |
2020-05-24 | Use a dedicated socketpair for stdin, makes the code more symetric and gets ↵ | florian | -15/+25 | |
rid of shutdown(2) which might cause problems. OK blambert | ||||
2020-05-24 | Calculate correct pointer for fcgi_{begin,end}_request_body. input / OK blambert | florian | -3/+3 | |
2020-05-24 | Calculate correct pointer for end_request; while there initialize reserved ↵ | florian | -3/+6 | |
to zero. OK blambert | ||||
2020-05-24 | set FD_CLOEXEC OK blambert | florian | -1/+8 | |
2020-05-24 | adjust the names to more accurately reflect the names of structs and ↵ | blambert | -65/+65 | |
functions as they relate to the FastCGI protocol style(9)ize some function declarations while here ok florian@ | ||||
2020-05-24 | Sprinkle some comments which clarify the protocol/process flow. | blambert | -1/+18 | |
ok florian@ | ||||
2020-05-24 | When dumping FastCGI protocol headers during debug, dump the "request begin" ↵ | blambert | -8/+43 | |
and "request end" protocol entries in addition While here, make the "FastCGI request body" struct's name more precise (fcgi_end_request -> fcgi_end_request_body). okay florian@ | ||||
2020-05-24 | Use the correct buffer size for memory allocation and reads. | blambert | -5/+9 | |
okay florian@ | ||||
2020-05-24 | If the CGI script died due to receipt of signal, pass that back to the HTTP ↵ | blambert | -6/+20 | |
frontend as the "application return status". While here, add a pair of informative debugging statements. ok florian@ | ||||
2020-05-24 | slowcgi grows an option to specify an alternate FastCGI socket on which to ↵ | blambert | -6/+11 | |
listen. okay dcoppa@, henning@, florian@ manpage okay from jmc@ | ||||
2020-05-24 | Give slowcgi a style(9) scrubbing. No functional change. | blambert | -41/+47 | |
ok florian@ | ||||
2020-05-24 | move bgplg and slowcgi sockets to /var/www/run input reyk@, guenther@ "move ↵ | florian | -2/+2 | |
fast" deraadt@ OK naddy@ | ||||
2020-05-24 | off by one, from Henri Kemppainen <duclare-at-guu.fi>, thanks! | florian | -2/+2 | |
2020-05-24 | Fix pasto where 'c' instead of 'clients' is checked for NULL and add missing ↵ | jasper | -2/+3 | |
free for the fcgi_response. ok florian@ |