[dovecot-cvs] dovecot/src/login-common auth-connection.c,1.9,1.10

cras at procontrol.fi cras at procontrol.fi
Wed Feb 12 10:02:46 EET 2003


Update of /home/cvs/dovecot/src/login-common
In directory danu:/tmp/cvs-serv27964

Modified Files:
	auth-connection.c 
Log Message:
handshake counter was decreased too often and could have caused hangs



Index: auth-connection.c
===================================================================
RCS file: /home/cvs/dovecot/src/login-common/auth-connection.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- auth-connection.c	10 Feb 2003 07:56:23 -0000	1.9
+++ auth-connection.c	12 Feb 2003 08:02:43 -0000	1.10
@@ -119,7 +119,8 @@
 		}
 	}
 
-        auth_waiting_handshake_count--;
+	if (!conn->handshake_received)
+		auth_waiting_handshake_count--;
 
 	if (close(conn->fd) < 0)
 		i_error("close(auth) failed: %m");




More information about the dovecot-cvs mailing list