dovecot-1.1: Auth worker: Make sure we don't abort a lookup too ...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 22 01:07:07 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/2108e44c3ba4
changeset: 7959:2108e44c3ba4
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 22 01:06:59 2008 +0300
description:
Auth worker: Make sure we don't abort a lookup too early.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/auth/auth-worker-server.c | 2 +-
diffs (12 lines):
diff -r 4608e1bfb505 -r 2108e44c3ba4 src/auth/auth-worker-server.c
--- a/src/auth/auth-worker-server.c Wed Oct 22 01:06:13 2008 +0300
+++ b/src/auth/auth-worker-server.c Wed Oct 22 01:06:59 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) {
+ if (conn->requests_left == 0 && array_count(&conn->requests) == 0) {
auth_worker_destroy(conn, "Max requests limit");
if (idle_count == 0)
auth_worker_create();
More information about the dovecot-cvs
mailing list