summaryrefslogtreecommitdiff
path: root/src/fdevent.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-07-17 00:52:14 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-07-23 19:02:31 -0400
commitadeec956c39cdf57cd97027a7b3c734294b4f0a3 (patch)
tree6a26faa28c29b61e48f351f326c1922228efa254 /src/fdevent.h
parent167cdc846c13f03c87fe6f100c110282aa3cd17a (diff)
downloadlighttpd-git-adeec956c39cdf57cd97027a7b3c734294b4f0a3.tar.gz
[core] restart piped loggers if they exit (fixes #1393)
x-ref: "access log pipe writer should restart child process if it exits" https://redmine.lighttpd.net/issues/1393
Diffstat (limited to 'src/fdevent.h')
-rw-r--r--src/fdevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fdevent.h b/src/fdevent.h
index bf9ba7c9..4caef9d9 100644
--- a/src/fdevent.h
+++ b/src/fdevent.h
@@ -225,6 +225,10 @@ int fdevent_set_stdin_stdout_stderr(int fdin, int fdout, int fderr);
pid_t fdevent_fork_execve(const char *name, char *argv[], char *envp[], int fdin, int fdout, int fderr, int dfd);
int fdevent_open_logger(const char *logger);
int fdevent_cycle_logger(const char *logger, int *curfd);
+int fdevent_reaped_logger_pipe(pid_t pid);
+void fdevent_waitpid_logger_pipes(time_t ts);
+void fdevent_close_logger_pipes(void);
+void fdevent_breakagelog_logger_pipe(int fd);
int fdevent_select_init(fdevents *ev);
int fdevent_poll_init(fdevents *ev);