[dovecot-cvs] dovecot/src/auth auth-worker-server.c,1.9,1.9.2.1
tss at dovecot.org
tss at dovecot.org
Fri Mar 16 17:23:53 EET 2007
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv2151/auth
Modified Files:
Tag: branch_1_0
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.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- auth-worker-server.c 26 Feb 2006 10:04:59 -0000 1.9
+++ auth-worker-server.c 16 Mar 2007 15:23:50 -0000 1.9.2.1
@@ -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