about summary refs log tree commit homepage
path: root/lib/PublicInbox/NNTPD.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-03 08:06:03 +0000
committerEric Wong <e@80x24.org>2022-08-03 19:57:58 +0000
commitec328a09ae172569ac72bafb02eaf1dc2d489867 (patch)
treed2ed66eabcdd65d5db5ac1f87beee8e2552a2438 /lib/PublicInbox/NNTPD.pm
parentaa26a8a66c845bc4754f7099b675082899933078 (diff)
downloadpublic-inbox-ec328a09ae172569ac72bafb02eaf1dc2d489867.tar.gz
This allows new TLS certificates to be loaded for new clients
without having to timeout nor drop existing clients with
established connections made with the old certs.  This should
benefit users with admins who expire certificates frequently (as
encouraged by Let's Encrypt).
Diffstat (limited to 'lib/PublicInbox/NNTPD.pm')
-rw-r--r--lib/PublicInbox/NNTPD.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/NNTPD.pm b/lib/PublicInbox/NNTPD.pm
index 9e232ef6..15a72bac 100644
--- a/lib/PublicInbox/NNTPD.pm
+++ b/lib/PublicInbox/NNTPD.pm
@@ -17,7 +17,7 @@ sub new {
                 err => \*STDERR,
                 out => \*STDOUT,
                 # pi_cfg => $pi_cfg,
-                # accept_tls => { SSL_server => 1, ..., SSL_reuse_ctx => ... }
+                # ssl_ctx_opt => { SSL_cert_file => ..., SSL_key_file => ... }
                 # idler => PublicInbox::InboxIdle
         }, $class;
 }