[dovecot-cvs] dovecot/src/imap-login imap-proxy.c,1.5,1.6
cras at dovecot.org
cras at dovecot.org
Fri Jan 7 18:46:32 EET 2005
Update of /var/lib/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv10586/imap-login
Modified Files:
imap-proxy.c
Log Message:
proxy: When we can't connect to remote server, show "Temporary login
failure." error to client instead of internal error.
Index: imap-proxy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap-login/imap-proxy.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- imap-proxy.c 27 Oct 2004 14:20:24 -0000 1.5
+++ imap-proxy.c 7 Jan 2005 16:46:29 -0000 1.6
@@ -93,8 +93,9 @@
return;
}
- /* failed for some reason */
- client_destroy_internal_failure(client);
+ /* failed for some reason, probably server disconnected */
+ client_send_line(client, "* BYE Temporary login failure.");
+ client_destroy(client, NULL);
return;
}
More information about the dovecot-cvs
mailing list