| Commit message (Expand) | Author | Lines |
2020-05-24 | Use corresponding attributes for __packed and __dead | Wynn Wolf Arbor | -0/+8 |
2020-05-24 | When calculating the fd limit before accepting a new connection also account ... | claudio | -2/+2 |
2020-05-24 | Call daemon with 0 as first argument so that it changes the cwd to /. It is n... | florian | -2/+2 |
2020-05-24 | Make the owner of fcgi socket configurable. | florian | -6/+12 |
2020-05-24 | consistently use the evtimer wrappers around the connection timeout. | florian | -3/+3 |
2020-05-24 | Sync the severity of the syslog_* functions shared between identd, slowcgi, t... | florian | -5/+5 |
2020-05-24 | Add format attribute to logger functions. Fix format string while here. Input... | florian | -15/+28 |
2020-05-24 | As suggested by the FastCGI spec, zero-pad the response buffers to be aligned... | reyk | -3/+22 |
2020-05-24 | typo in error message: to -> too | tb@openbsd.org | -2/+2 |
2020-05-24 | pledge(2) for slowcgi. After initialization slowcgi accepts from a AF_UNIX so... | florian | -1/+6 |
2020-05-24 | re-shuffle slowcgi_listen to run less code as root. OK benno@ | florian | -15/+16 |
2020-05-24 | Output the contents of the environment in debug mode which is most helpful in... | millert | -1/+2 |
2020-05-24 | Clean up includes, while here fix a white space which lead to a false positiv... | florian | -5/+5 |
2020-05-24 | The kernel doesn't actually care what a sockaddr's sa_len is on input, so don... | guenther | -5/+3 |
2020-05-24 | Replace <sys/param.h> with <limits.h> and other less dirty headers where poss... | deraadt | -4/+5 |
2020-05-24 | read(2) returns ssize_t, not size_t | blambert | -2/+3 |
2020-05-24 | Bail out if the buffer is too small to contain the length of a parameter valu... | florian | -4/+4 |
2020-05-24 | dead stores; pointed out by llvm scan-build; no binary change | florian | -5/+1 |
2020-05-24 | pause shadows global; pointed out by gcc; no binary change | florian | -5/+5 |
2020-05-24 | mode is unused; pointed out by gcc; no binary change | florian | -2/+2 |
2020-05-24 | declare lerr and lerrx __dead; unconfuses llvm scan-build | florian | -12/+12 |
2020-05-24 | Instead of doing the fcntl(2) and ioctl(2) song and dance just tell socket(2)... | florian | -11/+5 |
2020-05-24 | Use lerrx instead of errx since the logging subsystem is already initialized.... | claudio | -3/+3 |
2020-05-24 | Implement -u (user to drop privs to) and -p flag (path to chroot to). This al... | florian | -12/+29 |
2020-05-24 | Cleanup socket creation. Input ajacoutot some time ago; OK henning@ | florian | -10/+7 |
2020-05-24 | My previous attempt to chdir(2) to the directory containing the cgi script wa... | florian | -5/+10 |
2020-05-24 | Calculate the length of name and value for parameters the right way around fo... | florian | -6/+6 |
2020-05-24 | httpd(8) did a chdir(2) to the directory containing the cgi script. As there ... | florian | -1/+10 |
2020-05-24 | jturner pointed out that if one wants to run cgi scripts outside /cgi-bin SCR... | florian | -2/+6 |
2020-05-24 | fix reaper loop that could run indefinitely | djm | -2/+5 |
2020-05-24 | Initialize sun_len, pointed out by deraadt@. While there also check length of... | florian | -2/+6 |
2020-05-24 | Fix a potential file descriptor overlap in exec_cgi() by making sure that fil... | florian | -2/+26 |
2020-05-24 | We need to loop around waitpid to catch all exited children as we are not gua... | florian | -19/+20 |
2020-05-24 | Do not leak fds in fork(2) error path. pointed out by deraadt@ | florian | -1/+17 |
2020-05-24 | Check for EINTR, too. pointed out by deraadt@ | florian | -3/+3 |
2020-05-24 | No need for volatile here. pointed out by deraadt@ | florian | -2/+2 |
2020-05-24 | spelling, spacing, etc | deraadt | -18/+20 |
2020-05-24 | reserve file descriptors for incoming connections so we will be able to actua... | benno | -3/+35 |
2020-05-24 | Keep track of which fds were closed before and only close those still open. O... | florian | -4/+16 |
2020-05-24 | Do not fiddle with the response queue directly but go through a new slowcgi_a... | florian | -9/+12 |
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 r... | florian | -15/+25 |
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 to... | florian | -3/+6 |
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 function... | blambert | -65/+65 |
2020-05-24 | Sprinkle some comments which clarify the protocol/process flow. | blambert | -1/+18 |
2020-05-24 | When dumping FastCGI protocol headers during debug, dump the "request begin" ... | blambert | -8/+43 |
2020-05-24 | Use the correct buffer size for memory allocation and reads. | blambert | -5/+9 |
2020-05-24 | If the CGI script died due to receipt of signal, pass that back to the HTTP f... | blambert | -6/+20 |