[dovecot-cvs] dovecot/src/auth main.c,1.37,1.38
cras at dovecot.org
cras at dovecot.org
Sun Jan 9 18:51:06 EET 2005
- Previous message: [dovecot-cvs] dovecot/src/auth Makefile.am, 1.42,
1.43 auth-client-connection.c, 1.32,
1.33 auth-client-connection.h, 1.8,
1.9 auth-master-connection.c, 1.24,
1.25 auth-master-connection.h, 1.7, 1.8 auth-request-handler.c,
NONE, 1.1 auth-request-handler.h, NONE, 1.1 auth-request.c,
1.6, 1.7 auth-request.h, 1.6, 1.7 main.c, 1.36,
1.37 mech-apop.c, 1.14, 1.15
- Next message: [dovecot-cvs]
dovecot/src/lib network.c, 1.25, 1.26 network.h, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv30502/auth
Modified Files:
main.c
Log Message:
Added backlog parameter for net_listen*().
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/main.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- main.c 9 Jan 2005 00:49:18 -0000 1.37
+++ main.c 9 Jan 2005 16:51:03 -0000 1.38
@@ -79,7 +79,7 @@
return gr->gr_gid;
}
-static int create_unix_listener(const char *env)
+static int create_unix_listener(const char *env, int backlog)
{
const char *path, *mode, *user, *group;
mode_t old_umask;
@@ -103,7 +103,7 @@
old_umask = umask(mask);
for (i = 0; i < 5; i++) {
- fd = net_listen_unix(path);
+ fd = net_listen_unix(path, backlog);
if (fd != -1)
break;
@@ -149,9 +149,9 @@
}
str = t_strdup_printf("AUTH_%u", i);
- client_fd = create_unix_listener(str);
+ client_fd = create_unix_listener(str, 16);
str = t_strdup_printf("AUTH_%u_MASTER", i);
- master_fd = create_unix_listener(str);
+ master_fd = create_unix_listener(str, 1);
master = auth_master_connection_create(auth, -1);
if (master_fd != -1) {
- Previous message: [dovecot-cvs] dovecot/src/auth Makefile.am, 1.42,
1.43 auth-client-connection.c, 1.32,
1.33 auth-client-connection.h, 1.8,
1.9 auth-master-connection.c, 1.24,
1.25 auth-master-connection.h, 1.7, 1.8 auth-request-handler.c,
NONE, 1.1 auth-request-handler.h, NONE, 1.1 auth-request.c,
1.6, 1.7 auth-request.h, 1.6, 1.7 main.c, 1.36,
1.37 mech-apop.c, 1.14, 1.15
- Next message: [dovecot-cvs]
dovecot/src/lib network.c, 1.25, 1.26 network.h, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list