diff options
author | Jeff Trawick <trawick@apache.org> | 2005-05-16 01:56:48 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2005-05-16 01:56:48 +0200 |
commit | f78a4e4a891444226d8972042c0a4dad2bad24d1 (patch) | |
tree | 85786e34bf08186709f35dd5b9c30b82d5503ea1 /include/http_log.h | |
parent | Reintroduce stack frame construction with /Oy- (removal was implied by /O2). (diff) | |
download | apache2-f78a4e4a891444226d8972042c0a4dad2bad24d1.tar.xz apache2-f78a4e4a891444226d8972042c0a4dad2bad24d1.zip |
Prevent hangs of child processes when writing to piped loggers at
the time of graceful restart.
PR: 26467
Reviewed by: Joe Orton
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170281 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_log.h')
-rw-r--r-- | include/http_log.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/http_log.h b/include/http_log.h index 1e96f97b85..b6b5a7affb 100644 --- a/include/http_log.h +++ b/include/http_log.h @@ -116,6 +116,16 @@ AP_DECLARE(apr_status_t) ap_replace_stderr_log(apr_pool_t *p, int ap_open_logs(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s_main); +/** + * Perform special processing for piped loggers in MPM child + * processes. + * @param p Not used + * @param s Not used + * @tip ap_logs_child_init is not for use by modules; it is an + * internal core function + */ +void ap_logs_child_init(apr_pool_t *p, server_rec *s); + /* * The primary logging functions, ap_log_error, ap_log_rerror, ap_log_cerror, * and ap_log_perror use a printf style format string to build the log message. |