From 03344d346ba5b3640206b380725f91e241780ad7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 20 Jul 2021 08:58:58 +0000 Subject: httpd: fix SIGHUP by invalidating cache on reload Since we require separate PublicInbox::HTTPD instances for each listen socket address (in order to support {SERVER_} for PSGI env), the old cache needed to be invalidated on rare app refreshes. SIGHUP has always been broken in -httpd (but not -imapd or -nntpd) due to this cache. Update the daemon documentation and 5.10.1-ize some bits while we're in the area. --- Documentation/public-inbox-daemon.pod | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Documentation') diff --git a/Documentation/public-inbox-daemon.pod b/Documentation/public-inbox-daemon.pod index ec210efa..f77fc3a9 100644 --- a/Documentation/public-inbox-daemon.pod +++ b/Documentation/public-inbox-daemon.pod @@ -5,13 +5,14 @@ public-inbox-daemon - common usage for public-inbox network daemons =head1 SYNOPSIS public-inbox-httpd + public-inbox-imapd public-inbox-nntpd =head1 DESCRIPTION This manual describes common options and behavior for public-inbox network daemons. Network daemons for public-inbox -provide read-only NNTP and HTTP access to public-inboxes. Write +provide read-only NNTP, IMAP and HTTP access to public-inboxes. Write access to a public-inbox will never be required to run these. These daemons are implemented with a common core using @@ -103,7 +104,7 @@ See L below. =item SIGHUP Reload config files associated with the process. -(FIXME: not tested for -httpd, yet) +(Note: broken for L only in E= 1.6) =item SIGTTIN @@ -188,4 +189,5 @@ License: AGPL-3.0+ L =head1 SEE ALSO -L, L +L, L, +L -- cgit v1.2.3-24-ge0c7