From: Timo Sirainen Date: Thu, 15 Jul 2010 23:17:33 +0000 (+0100) Subject: auth worker: Reset lookup timeout each time a line is received for a multi-line lookup. X-Git-Tag: 2.0.rc3~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=daddb93eb872550ae4806e37f8f928e78f5a6e0b;p=thirdparty%2Fdovecot%2Fcore.git auth worker: Reset lookup timeout each time a line is received for a multi-line lookup. --- diff --git a/src/auth/auth-worker-server.c b/src/auth/auth-worker-server.c index 1b0cfda835..10f2b413a7 100644 --- a/src/auth/auth-worker-server.c +++ b/src/auth/auth-worker-server.c @@ -237,6 +237,7 @@ static void auth_worker_request_handle(struct auth_worker_connection *conn, { if (strncmp(line, "*\t", 2) == 0) { /* multi-line reply, not finished yet */ + timeout_reset(conn->to); } else { conn->request = NULL; timeout_remove(&conn->to);