summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/httpd.c
AgeCommit message (Expand)Author
2017-01-23Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP onlyTheo de Raadt
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
2016-09-28sync proc.c from switchd, includes minor cast qual fix and removal of p_env.Reyk Floeter
2016-09-02proc.c tweaks: Rename proc_listento() to proc_accept() as it is theReyk Floeter
2016-09-01Teach httpd/proc.c how to fork+exec.Rafael Zalamena
2016-08-30Terminate daemon using the socket status instead of watching SIGCHLD orRafael Zalamena
2016-08-26Kill the ps_ninstances from proc.c.Rafael Zalamena
2016-08-16stop including sys/param.h for nitems. define locally as needed.Ted Unangst
2016-06-10& expands to the maximum amount of needed space; fix comment.Florian Obser
2016-05-22fix unbalanced va_start and va_end macrosJoerg Jung
2016-02-02Remove setproctitle() for the parent process. Because rc.d(8) uses processStuart Henderson
2015-12-03Remove unnecessary NULL checks before free().Reyk Floeter
2015-12-03the grammar can prompt DNS lookups, so pledge "dns" also.Theo de Raadt
2015-12-02sync with relayd, use proc_compose()Reyk Floeter
2015-11-23Retire socket_set_blockmode() in favor of the SOCK_NONBLOCK type flag.Reyk Floeter
2015-11-22Update log.c: change fatal() and fatalx() into variadic functions,Reyk Floeter
2015-11-21Move local logging functions into httpd.c, and sync log.c with relayd -Reyk Floeter
2015-11-19Simplify all instances of get_string() and get_data() using malloc() andmmcc
2015-11-05pledge(2) for httpd.Florian Obser
2015-10-31revert -r1.42 as it breaks slowcgi and php-fpm setups as reported by jturnerJoerg Jung
2015-10-28Remove a few more NULL-checks before free.mmcc
2015-10-28While I'm in here, drop a NULL-check before free.mmcc
2015-10-26fix PATH_INFO for / requestsJoerg Jung
2015-10-14Two more char -> unsigned char in ctype functions.Reyk Floeter
2015-10-13Pass unsigned chars to ctype functions.Reyk Floeter
2015-08-20Change httpd(8) to use C99-style fixed-width integers (uintN_t insteadReyk Floeter
2015-07-18Allow to change the default media type globally or per-location,Reyk Floeter
2015-06-03Do not assume that asprintf() clears the pointer on failure, whichTodd C. Miller
2015-05-28Do not try to unlink the control socket in an unprivileged childFlorian Obser
2015-02-23Allow to specify CGI variables as macros in redirection strings, eg.Reyk Floeter
2015-02-12Rename escape_uri() to url_encode() because it is the opposite ofReyk Floeter
2015-02-10Encode directory listings.Florian Obser
2015-02-08spacingReyk Floeter
2015-01-21httpd is based on relayd and had included many headers that are onlyReyk Floeter
2015-01-19Decouple auth parameters from struct server_config into struct auth.Reyk Floeter
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-11When scanning backwards for the last dot in a filename,Ingo Schwarze
2014-12-04stop viral header propagation. none of this code uses sys/hash.hTed Unangst
2014-11-22use size_t where appropriate. ok deraadt reykTed Unangst
2014-11-21white space begoneTheo de Raadt
2014-11-11Allow the log directory to be configurable in the config file, rather thanBob Beck
2014-10-22URL-decode the request path.Reyk Floeter
2014-09-29whitespace spotted while studying the codeTheo de Raadt
2014-09-05Remove a limitation that only allowed to specify a server name once.Reyk Floeter
2014-09-01Replace the code to get the FastCGI Status header with a proper way toReyk Floeter
2014-08-13Provide a failsafe version of the path_info() function that doesn'tReyk Floeter
2014-08-13fix early loop termination in httpd path_info()Christopher Zimmermann
2014-08-05Improve logging to allow per- server/location log files. The logReyk Floeter
2014-08-05add a config option to specify the chroot directoryJonathan Gray
2014-08-04Add initial support for log files in /var/www/logs/. Logging withReyk Floeter