dovecot-1.3: Before starting imaps connections, check how full c...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 8 20:47:03 EEST 2009
details: http://hg.dovecot.org/dovecot-1.3/rev/f012c053aa5a
changeset: 9046:f012c053aa5a
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 08 13:46:38 2009 -0400
description:
Before starting imaps connections, check how full connection queue is.
diffstat:
1 file changed, 2 insertions(+)
src/login-common/main.c | 2 ++
diffs (12 lines):
diff -r 0145ecc95752 -r f012c053aa5a src/login-common/main.c
--- a/src/login-common/main.c Tue Apr 07 22:17:36 2009 -0400
+++ b/src/login-common/main.c Wed Apr 08 13:46:38 2009 -0400
@@ -127,6 +127,8 @@ static void login_accept_ssl(void *conte
local_port = 0;
}
+ connection_queue_add(1);
+
fd_ssl = ssl_proxy_new(fd, &remote_ip, &proxy);
if (fd_ssl == -1)
net_disconnect(fd);
More information about the dovecot-cvs
mailing list