]> Sergey Matveev's repositories - public-inbox.git/commit
net_reader: no STARTTLS for IMAP localhost or onions
authorEric Wong <e@80x24.org>
Sun, 19 Sep 2021 12:50:32 +0000 (12:50 +0000)
committerEric Wong <e@80x24.org>
Sun, 19 Sep 2021 19:53:03 +0000 (19:53 +0000)
commit20c940a876728fe91892200dd874dd917cd677ac
tree7a33c0075d6bb11fe9f746cc3c6ff5b421bbf165
parent207f0f93632e26818f2ed3b9d78bf3251b5a69b3
net_reader: no STARTTLS for IMAP localhost or onions

At least not by default, to match existing NNTP behavior.
Tor .onions are already encrypted, and there's no point
in encrypting traffic on localhost outside of testing.
lib/PublicInbox/NetReader.pm
t/imapd-tls.t
t/nntpd-tls.t