summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/proc.c
AgeCommit message (Expand)Author
2023-02-15proc_ispeer() is not used anywhere anymore so remove it everywhere.Tobias Heider
2021-12-04Do not setup pipes between SERVER processes, they don't talk to eachFlorian Obser
2021-04-20Move TAILQ initialization to files where they are used.dv
2020-08-03remove tautological conditionSebastian Benoit
2018-09-09During the fork+exec implementation, daemon(3) was moved afterAlexander Bluhm
2017-05-28use __func__ in log messages.Sebastian Benoit
2017-01-17Nuke some whitespace that keeps poking me in the eye as I try toKenneth R Westerback
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
2016-10-12Prevent fd exhaustion in the parent when loading the listening serverReyk Floeter
2016-10-10Modify httpd(8)'s proc.c to use less file descriptors during the daemonRafael Zalamena
2016-10-10Fix msgbuf_write() usage idiom and modify the treatment for socket closeRafael Zalamena
2016-10-10Add more context to fatal*() messages so it makes easier to debug proc.cRafael Zalamena
2016-10-05Check if oldd == newd before dup2(), if that is the case we need to removeRafael Zalamena
2016-10-05Call setsid() to create a new session for the executed processes.Reyk Floeter
2016-10-05sync proc.c with vmd: add p_pw to specify a non-standard user for a process.Reyk Floeter
2016-09-28sync proc.c from switchd, includes minor cast qual fix and removal of p_env.Reyk Floeter
2016-09-03Replace [RELAY|SERVER]_MAXPROC with the new PROC_MAX_INSTANCESReyk Floeter
2016-09-03Use DPRINTF instead of #ifdef DEBUG + log_debug().Reyk Floeter
2016-09-02proc.c tweaks: Rename proc_listento() to proc_accept() as it is theReyk Floeter
2016-09-01Don't print "lost child" if the child process exited okay. This isReyk Floeter
2016-09-01spacingReyk Floeter
2016-09-01Adjust log message, use process title now that it works againReyk Floeter
2016-09-01Teach httpd/proc.c how to fork+exec.Rafael Zalamena
2016-08-30Kill (remove) the ps_pid from privsep struct since it is not being usedRafael Zalamena
2016-08-30Terminate daemon using the socket status instead of watching SIGCHLD orRafael Zalamena
2016-08-27Kill p_instance from proc.c and remove static proc_id unused variables.Rafael Zalamena
2016-08-26Kill the ps_ninstances from proc.c.Rafael Zalamena
2015-12-07Add imsg "peerid" to debug messages (only within -DDEBUG).Reyk Floeter
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
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-23Sync proc.c with iked.Reyk Floeter
2015-11-22Update log.c: change fatal() and fatalx() into variadic functions,Reyk Floeter
2015-08-20Change httpd(8) to use C99-style fixed-width integers (uintN_t insteadReyk Floeter
2015-01-21httpd is based on relayd and had included many headers that are onlyReyk Floeter
2014-12-21Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.Philip Guenther
2014-12-16Replace setpgrp(0, getpid()) with setpgid(0, 0). OK deraadt@ tedu@Todd C. Miller
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-08-04Add initial support for log files in /var/www/logs/. Logging withReyk Floeter
2014-08-04httpd doesn't support SSL/TLS yet, remove the remaining bits.Reyk Floeter
2014-08-04whitespaceTheo de Raadt
2014-07-12Add httpd(8), an attempt to turn the relayd(8) codebase into a simpleReyk Floeter