[dovecot-cvs] dovecot/src/pop3-login client.c,1.4,1.5

cras at procontrol.fi cras at procontrol.fi
Sun Feb 2 12:16:44 EET 2003


Update of /home/cvs/dovecot/src/pop3-login
In directory danu:/tmp/cvs-serv24541/pop3-login

Modified Files:
	client.c 
Log Message:
auth: kill login connection if it leaves requests hanging too long.



Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3-login/client.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- client.c	2 Feb 2003 07:10:46 -0000	1.4
+++ client.c	2 Feb 2003 10:16:42 -0000	1.5
@@ -27,6 +27,10 @@
    client hash, it's faster if we disconnect multiple clients. */
 #define CLIENT_DESTROY_OLDEST_COUNT 16
 
+#if CLIENT_LOGIN_IDLE_TIMEOUT >= AUTH_REQUEST_TIMEOUT
+#  error client idle timeout must be smaller than authentication timeout
+#endif
+
 static struct hash_table *clients;
 static struct timeout *to_idle;
 




More information about the dovecot-cvs mailing list