unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/6] flesh out more -netd funcionality
@ 2022-08-01 21:24 Eric Wong
  2022-08-01 21:24 ` [PATCH 1/6] httpd: make internals slightly more generic Eric Wong
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Eric Wong @ 2022-08-01 21:24 UTC (permalink / raw)
  To: meta

These changes will allow public-inbox-netd to host multiple,
completely-unrelated .psgi apps within the same process via
psgi= as a per-listener option.  Having separate stdout/stderr
facsimiles is also supported via err= and out= keys (HTTP(S)
only has err= for $env->{'psgi.errors'}).

(public-inbox-{nntp,imap,pop3,http}d can actually do all that
-netd can do, too, the only difference is -netd has no default
port/protocol).

Further optimizations (PublicInbox::Config object sharing)
and reload improvements (TLS cert reload on SIGHUP) are on
the way...

Eric Wong (6):
  httpd: make internals slightly more generic
  daemon: support per-listener env, .psgi, out, err
  daemon: require absolute cert/key paths with --daemonize
  daemon: add diagnostics about inherited/bound listeners
  daemon: allow listening on well-known ports based on protocol
  daemon: share FDs for identical log paths

 Documentation/public-inbox-daemon.pod |  51 ++++++--
 Documentation/public-inbox-netd.pod   |  34 ++++--
 MANIFEST                              |   1 +
 lib/PublicInbox/Daemon.pm             | 168 +++++++++++++++++---------
 lib/PublicInbox/HTTP.pm               |  10 +-
 lib/PublicInbox/HTTPD.pm              |  60 +++++----
 lib/PublicInbox/IMAPD.pm              |   3 +-
 lib/PublicInbox/NNTPD.pm              |  25 ++--
 lib/PublicInbox/POP3D.pm              |  36 +++---
 t/alt.psgi                            |  17 +++
 t/httpd-corner.psgi                   |   8 +-
 t/httpd-corner.t                      |  39 +++++-
 12 files changed, 304 insertions(+), 148 deletions(-)
 create mode 100644 t/alt.psgi

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-01 21:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 21:24 [PATCH 0/6] flesh out more -netd funcionality Eric Wong
2022-08-01 21:24 ` [PATCH 1/6] httpd: make internals slightly more generic Eric Wong
2022-08-01 21:24 ` [PATCH 2/6] daemon: support per-listener env, .psgi, out, err Eric Wong
2022-08-01 21:24 ` [PATCH 3/6] daemon: require absolute cert/key paths with --daemonize Eric Wong
2022-08-01 21:24 ` [PATCH 4/6] daemon: add diagnostics about inherited/bound listeners Eric Wong
2022-08-01 21:24 ` [PATCH 5/6] daemon: allow listening on well-known ports based on protocol Eric Wong
2022-08-01 21:24 ` [PATCH 6/6] daemon: share FDs for identical log paths Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).