Mercurial > dovecot > core-2.2
changeset 1160:1a9be391559b HEAD
handshake counter was decreased too often and could have caused hangs
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 12 Feb 2003 10:02:43 +0200 |
parents | 8a93dff28e13 |
children | fc5d2e44cc5e |
files | src/login-common/auth-connection.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/login-common/auth-connection.c Tue Feb 11 23:04:59 2003 +0200 +++ b/src/login-common/auth-connection.c Wed Feb 12 10:02:43 2003 +0200 @@ -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");