]> Sergey Matveev's repositories - public-inbox.git/commit
tls: epollbit: account for miscellaneous OpenSSL errors
authorEric Wong <e@80x24.org>
Fri, 30 Oct 2020 02:13:58 +0000 (02:13 +0000)
committerEric Wong <e@80x24.org>
Sat, 26 Dec 2020 19:37:46 +0000 (19:37 +0000)
commit31f9b61a318f4daf8a6208ed4f6bc60aa355faa9
tree891022802a7afad41c48811727c8b341a5431c4c
parent5efbbd5e3e45ff3a4e49663c6741e176e604bbfc
tls: epollbit: account for miscellaneous OpenSSL errors

Apparently they happen (triggered by my -imapd instance), so
bail out by closing the underlying socket rather than stopping
the event loop and daemon process.

(cherry picked from commit c51c22c349529d9c377160abcc7961a6ca7b7d5c)
lib/PublicInbox/DS.pm
lib/PublicInbox/HTTP.pm
lib/PublicInbox/IMAP.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/TLS.pm