[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
    
        - Previous message: [dovecot-cvs] dovecot INSTALL,1.6,1.7
 
        - Next message: [dovecot-cvs] dovecot/src/lib file-dotlock.c,NONE,1.1 file-dotlock.h,NONE,1.1 Makefile.am,1.28,1.29 file-lock.c,1.5,1.6 unlink-lockfiles.c,1.2,1.3
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
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");
    
    
        
	- Previous message: [dovecot-cvs] dovecot INSTALL,1.6,1.7
 
	- Next message: [dovecot-cvs] dovecot/src/lib file-dotlock.c,NONE,1.1 file-dotlock.h,NONE,1.1 Makefile.am,1.28,1.29 file-lock.c,1.5,1.6 unlink-lockfiles.c,1.2,1.3
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the dovecot-cvs
mailing list