aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index 826309c3..2c7f883c 100644
--- a/pop3.c
+++ b/pop3.c
@@ -575,6 +575,12 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
return(ok);
}
+/* Disable the sleep. Based on patch by Brian Candler 2004-04-19/2004-11-08,
+ * accepted by Matthias Andree.
+ *
+ * Rationale: the server must have locked the spool before returning +OK;
+ * this sleep just wastes time and hence, for modem and CSD users, money. */
+#ifdef WANT_BOGUS
/*
* Empirical experience shows some server/OS combinations
* may need a brief pause even after any lockfiles on the
@@ -583,6 +589,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
* this is only ever an issue with extremely large mailboxes.
*/
sleep(3); /* to be _really_ safe, probably need sleep(5)! */
+#endif
/* we're peek-capable if use of TOP is enabled */
peek_capable = !(ctl->fetchall || (ctl->keep && !ctl->server.uidl));