[dovecot-cvs] dovecot/src/auth auth-worker-server.c,1.11,1.12

tss at dovecot.org tss at dovecot.org
Fri Mar 16 17:23:56 EET 2007


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv2140/auth

Modified Files:
	auth-worker-server.c 
Log Message:
If net_connect_unix() fails, assume also that ECONNREFUSED may be a
temporary failure. It can happen if we exceeded the listener's backlog.



Index: auth-worker-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-worker-server.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- auth-worker-server.c	15 Dec 2006 18:38:08 -0000	1.11
+++ auth-worker-server.c	16 Mar 2007 15:23:53 -0000	1.12
@@ -58,8 +58,8 @@
 		if (fd >= 0)
 			break;
 
-		if (errno == EAGAIN) {
-			/* we're busy */
+		if (errno == EAGAIN || errno == ECONNREFUSED) {
+			/* we're busy. */
 		} else if (errno == ENOENT) {
 			/* master didn't yet create it? */
 		} else {



More information about the dovecot-cvs mailing list