]> Sergey Matveev's repositories - public-inbox.git/commit
httpd: fix SIGHUP by invalidating cache on reload
authorEric Wong <e@80x24.org>
Tue, 20 Jul 2021 08:58:58 +0000 (08:58 +0000)
committerEric Wong <e@80x24.org>
Tue, 20 Jul 2021 21:45:19 +0000 (21:45 +0000)
commit03344d346ba5b3640206b380725f91e241780ad7
treec6f550247020dcc57c95110b12a74ee7b692daa3
parent41b03a53dd092738500320b5f976fa21b546f176
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_<NAME|PORT>}
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
script/public-inbox-httpd
t/httpd.t