From 70e86609fe7248e7d902d4e9cdec97aa3643acf5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 31 Oct 2023 20:42:54 +0000 Subject: [PATCH] pop3: use SSL_shutdown(3ssl) if appropriate This allows us support SSL session caching + reuse in the future. --- lib/PublicInbox/POP3.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.2