[dovecot-cvs] dovecot/src/master auth-process.c, 1.72, 1.73 main.c,
1.59, 1.60
cras at dovecot.org
cras at dovecot.org
Sun Jan 9 18:51:09 EET 2005
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv30502/master
Modified Files:
auth-process.c main.c
Log Message:
Added backlog parameter for net_listen*().
Index: auth-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- auth-process.c 9 Jan 2005 00:49:19 -0000 1.72
+++ auth-process.c 9 Jan 2005 16:51:06 -0000 1.73
@@ -371,7 +371,7 @@
(void)unlink(path);
old_umask = umask(0117); /* we want 0660 mode for the socket */
- fd = net_listen_unix(path);
+ fd = net_listen_unix(path, 16);
umask(old_umask);
if (fd < 0)
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/main.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- main.c 25 Nov 2004 19:12:46 -0000 1.59
+++ main.c 9 Jan 2005 16:51:06 -0000 1.60
@@ -327,7 +327,7 @@
*fd = null_fd;
else {
for (i = 0; i < 10; i++) {
- *fd = net_listen(ip, &port);
+ *fd = net_listen(ip, &port, 8);
if (*fd != -1 || errno != EADDRINUSE || !retry)
break;
More information about the dovecot-cvs
mailing list