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

dovecot at dovecot.org dovecot at dovecot.org
Thu May 30 22:27:47 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/e4b66c2912da
changeset: 14975:e4b66c2912da
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 30 22:27:38 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 7961f4f3b341 -r e4b66c2912da src/auth/auth-request.c
--- a/src/auth/auth-request.c	Thu May 30 22:27:07 2013 +0300
+++ b/src/auth/auth-request.c	Thu May 30 22:27:38 2013 +0300
@@ -1636,9 +1636,6 @@
 
 	if (dns_lookup(host, &dns_set, auth_request_proxy_dns_callback, ctx) < 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