dovecot-1.1: Don't restrict login process fd limits when running...
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Sun May  4 03:22:52 EEST 2008
    
    
  
details:   http://hg.dovecot.org/dovecot-1.1/rev/4407ef392711
changeset: 7475:4407ef392711
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 04 03:22:49 2008 +0300
description:
Don't restrict login process fd limits when running with GDB=1.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/master/login-process.c |    3 ++-
diffs (13 lines):
diff -r 40929ce03622 -r 4407ef392711 src/master/login-process.c
--- a/src/master/login-process.c	Sun May 04 03:09:18 2008 +0300
+++ b/src/master/login-process.c	Sun May 04 03:22:49 2008 +0300
@@ -689,7 +689,8 @@ static pid_t create_login_process(struct
 	fd_limit = 16 + listen_count + ssl_listen_count +
 		2 * (group->set->login_process_per_connection ? 1 :
 		     group->set->login_max_connections);
-	restrict_fd_limit(fd_limit);
+	if (!gdb)
+		restrict_fd_limit(fd_limit);
 
 	/* make sure we don't leak syslog fd, but do it last so that
 	   any errors above will be logged */
    
    
More information about the dovecot-cvs
mailing list