dovecot-1.1: Auth worker: Another try at not aborting a lookup t...

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 22 01:47:00 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/147a57cd312f
changeset: 7961:147a57cd312f
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 22 01:46:57 2008 +0300
description:
Auth worker: Another try at not aborting a lookup too early.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/auth/auth-worker-server.c |    2 +-

diffs (12 lines):

diff -r ec2132024f85 -r 147a57cd312f src/auth/auth-worker-server.c
--- a/src/auth/auth-worker-server.c	Wed Oct 22 01:32:25 2008 +0300
+++ b/src/auth/auth-worker-server.c	Wed Oct 22 01:46:57 2008 +0300
@@ -239,7 +239,7 @@ static void worker_input(struct auth_wor
 			auth_worker_handle_request(conn, request, line + 1);
 	}
 
-	if (conn->requests_left == 0 && array_count(&conn->requests) == 0) {
+	if (conn->requests_left == 0 && conn->request_count == 0) {
 		auth_worker_destroy(conn, "Max requests limit");
 		if (idle_count == 0)
 			auth_worker_create();


More information about the dovecot-cvs mailing list