From: Eric Wong Date: Tue, 31 Oct 2023 20:42:54 +0000 (+0000) Subject: pop3: use SSL_shutdown(3ssl) if appropriate X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70e86609fe7248e7d902d4e9cdec97aa3643acf5;p=thirdparty%2Fpublic-inbox.git pop3: use SSL_shutdown(3ssl) if appropriate This allows us support SSL session caching + reuse in the future. --- diff --git a/lib/PublicInbox/POP3.pm b/lib/PublicInbox/POP3.pm index 6d24b17c6..067720696 100644 --- a/lib/PublicInbox/POP3.pm +++ b/lib/PublicInbox/POP3.pm @@ -370,7 +370,7 @@ UPDATE users SET last_seen = ? WHERE user_id = ? $self->{pop3d}->unlock_mailbox($self); } $self->write(\"+OK public-inbox POP3 server signing off\r\n"); - $self->close; + $self->shutdn; undef; }