dovecot-1.1: Before starting imaps connections, check how full c...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 8 20:46:47 EEST 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/c91b73564611
changeset: 8236:c91b73564611
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 138c8b0bfbb3 -r c91b73564611 src/login-common/main.c
--- a/src/login-common/main.c Fri Apr 03 18:23:03 2009 -0400
+++ b/src/login-common/main.c Wed Apr 08 13:46:38 2009 -0400
@@ -128,6 +128,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