From 36bf6cd88b1c71055ef12b07253f5223d981e43d Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 20 Jul 2010 15:22:02 +0100 Subject: [PATCH] lib-auth: Don't abort userdb iteration if it takes longer than 1 minute. --- src/lib-auth/auth-master.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib-auth/auth-master.c b/src/lib-auth/auth-master.c index 871abce89d..2f54551890 100644 --- a/src/lib-auth/auth-master.c +++ b/src/lib-auth/auth-master.c @@ -526,6 +526,8 @@ auth_user_list_reply_callback(const char *cmd, const char *const *args, struct auth_master_user_list_ctx *ctx = context; const char *user; + timeout_reset(ctx->conn->to); + if (strcmp(cmd, "DONE") == 0) { io_loop_stop(ctx->conn->ioloop); if (args[0] != NULL && strcmp(args[0], "fail") == 0) { -- 2.47.3