dovecot-2.2: lib-imap-urlauth: Fixed handling of URLAUTH service...

dovecot at dovecot.org dovecot at dovecot.org
Thu May 30 18:05:20 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/b2541217f74b
changeset: 16423:b2541217f74b
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu May 30 18:04:17 2013 +0300
description:
lib-imap-urlauth: Fixed handling of URLAUTH service connection resume after pending local request.
This was erroneously removed in an earlier commit.

diffstat:

 src/lib-imap-urlauth/imap-urlauth-fetch.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r ec5d1686852c -r b2541217f74b src/lib-imap-urlauth/imap-urlauth-fetch.c
--- a/src/lib-imap-urlauth/imap-urlauth-fetch.c	Thu May 30 18:04:10 2013 +0300
+++ b/src/lib-imap-urlauth/imap-urlauth-fetch.c	Thu May 30 18:04:17 2013 +0300
@@ -311,6 +311,7 @@
 		ufetch->pending_reply.size = reply->size;
 		ufetch->pending_reply.succeeded = reply->succeeded;
 		ufetch->pending_reply.binary_has_nuls = reply->binary_has_nuls;
+		ufetch->waiting_service = TRUE;
 		return 0;
 	}
 
@@ -479,6 +480,9 @@
 			ufetch->pending_requests++;
 			return TRUE;
 		}
+
+		ufetch->waiting_service = FALSE;
+		imap_urlauth_connection_continue(ufetch->uctx->conn);
 	}
 
 	/* handle pending local urls */


More information about the dovecot-cvs mailing list