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

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


details:   http://hg.dovecot.org/dovecot-1.2/rev/284dea506006
changeset: 8313:284dea506006
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 22 01:47:16 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 963330c3df1e -r 284dea506006 src/auth/auth-worker-server.c
--- a/src/auth/auth-worker-server.c	Wed Oct 22 01:32:43 2008 +0300
+++ b/src/auth/auth-worker-server.c	Wed Oct 22 01:47:16 2008 +0300
@@ -260,7 +260,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