summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pith/pine.hlp8
-rw-r--r--pith/stream.c4
2 files changed, 8 insertions, 4 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 8b44c07c..63f8ec78 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 625 2021-11-26 01:15:28
+Alpine Commit 626 2021-11-26 14:43:28
============= h_news =================
<HTML>
<HEAD>
@@ -226,6 +226,10 @@ new additions to Alpine, please check it periodically.
the destination folder is large this could significantly slow down
alpine. Fix based on a patch submitted to the alpine-info list by
Chris Caputo.
+
+<LI> Add the LOGOUT command to the list of commands that can be
+ automatically interrupted in case the connection becomes unstable
+ during that command and Alpine times out its connection to the server.
</UL>
<P>
@@ -16614,7 +16618,7 @@ source code of this project is located at
<BODY>
<H1>Tenant Explained</H1>
-The tenant is a way in which a an app can be restricted. Alpine by default
+The tenant is a way in which an app can be restricted. Alpine by default
has no restrictions, which means that it can be used to access any service;
however, a system administrator might register their own app and make it
available only to those in their organization.
diff --git a/pith/stream.c b/pith/stream.c
index e73efd1d..8adca267 100644
--- a/pith/stream.c
+++ b/pith/stream.c
@@ -2291,8 +2291,8 @@ pine_imap_cmd_happened(MAILSTREAM *stream, char *cmd, long int flags)
sp_set_last_activity(stream, now);
if(!(flags & SC_EXPUNGEDEFERRED))
sp_set_last_expunged_reaper(stream, now);
-
- if(cmd && !strucmp(cmd, "NOOP")) /* but can interrupt this one */
+ /* but can interrupt these ones */
+ if(cmd && (!strucmp(cmd, "NOOP") || !strucmp(cmd, "LOGOUT")))
ps_global->can_interrupt = 1;
}
}