dovecot-1.2: Before starting imaps connections, check how full c...

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 8 20:46:49 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/a876b1fafa88
changeset: 8930:a876b1fafa88
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 b6abc84440df -r a876b1fafa88 src/login-common/main.c
--- a/src/login-common/main.c	Tue Apr 07 18:01:57 2009 -0400
+++ b/src/login-common/main.c	Wed Apr 08 13:46:38 2009 -0400
@@ -133,6 +133,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