dovecot-2.2: auth: Fixed error handling for proxy host dns_lookup()

dovecot at dovecot.org dovecot at dovecot.org
Thu May 30 22:28:01 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/1cf6ce033a25
changeset: 16430:1cf6ce033a25
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 30 22:27:57 2013 +0300
description:
auth: Fixed error handling for proxy host dns_lookup()

diffstat:

 src/auth/auth-request.c |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (13 lines):

diff -r f98fdf0a7ba4 -r 1cf6ce033a25 src/auth/auth-request.c
--- a/src/auth/auth-request.c	Thu May 30 22:27:23 2013 +0300
+++ b/src/auth/auth-request.c	Thu May 30 22:27:57 2013 +0300
@@ -1689,9 +1689,6 @@
 	if (dns_lookup(host, &dns_set, auth_request_proxy_dns_callback, ctx,
 		       &ctx->dns_lookup) < 0) {
 		/* failed early */
-		request->internal_failure = TRUE;
-		auth_request_proxy_finish_failure(request);
-		auth_request_unref(&request);
 		return -1;
 	}
 	ctx->callback = callback;


More information about the dovecot-cvs mailing list