From: Stephan Bosch Date: Thu, 30 May 2013 15:04:17 +0000 (+0300) Subject: lib-imap-urlauth: Fixed handling of URLAUTH service connection resume after pending... X-Git-Tag: 2.2.3~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c5fffbba024bc531106f00a9469c1f810a084d;p=thirdparty%2Fdovecot%2Fcore.git lib-imap-urlauth: Fixed handling of URLAUTH service connection resume after pending local request. This was erroneously removed in an earlier commit. --- diff --git a/src/lib-imap-urlauth/imap-urlauth-fetch.c b/src/lib-imap-urlauth/imap-urlauth-fetch.c index 674447af69..2393811aa8 100644 --- a/src/lib-imap-urlauth/imap-urlauth-fetch.c +++ b/src/lib-imap-urlauth/imap-urlauth-fetch.c @@ -311,6 +311,7 @@ imap_urlauth_fetch_request_callback(struct imap_urlauth_fetch_reply *reply, 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 @@ static bool imap_urlauth_fetch_do_continue(struct imap_urlauth_fetch *ufetch) ufetch->pending_requests++; return TRUE; } + + ufetch->waiting_service = FALSE; + imap_urlauth_connection_continue(ufetch->uctx->conn); } /* handle pending local urls */