Mercurial > dovecot > original-hg > dovecot-2.2
changeset 16796:09f5e8d6b8d4
lib-auth: Fixed infinite looping if user listing failed because auth process disconnected.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 21 Sep 2013 04:48:52 +0300 |
parents | 7a4ae8d511a2 |
children | 8b3634d4c362 |
files | src/lib-auth/auth-master.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-auth/auth-master.c Sat Sep 21 04:02:51 2013 +0300 +++ b/src/lib-auth/auth-master.c Sat Sep 21 04:48:52 2013 +0300 @@ -713,7 +713,7 @@ io_loop_set_current(ctx->conn->prev_ioloop); } - if (ctx->finished || ctx->failed) + if (ctx->finished || ctx->failed || ctx->conn->aborted) return NULL; return str_c(ctx->username); }