dovecot-2.0: master services: When accepting connections, set th...
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 13 01:55:08 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/f389f56a68a8
changeset: 9268:f389f56a68a8
user: Timo Sirainen <tss at iki.fi>
date: Tue May 12 18:54:41 2009 -0400
description:
master services: When accepting connections, set them nonblocking.
diffstat:
1 file changed, 1 insertion(+)
src/lib-master/master-service.c | 1 +
diffs (11 lines):
diff -r 269cebf1aad4 -r f389f56a68a8 src/lib-master/master-service.c
--- a/src/lib-master/master-service.c Tue May 12 15:27:00 2009 -0400
+++ b/src/lib-master/master-service.c Tue May 12 18:54:41 2009 -0400
@@ -466,6 +466,7 @@ static void master_service_listen(struct
conn.fd = l->fd;
}
conn.ssl = l->ssl;
+ net_set_nonblock(conn.fd, TRUE);
l->service->master_status.available_count--;
master_status_update(l->service);
More information about the dovecot-cvs
mailing list