[dovecot-cvs] dovecot/src/auth login-connection.c,1.22,1.23 main.c,1.19,1.20 master-connection.c,1.9,1.10

cras at procontrol.fi cras at procontrol.fi
Fri May 23 18:40:52 EEST 2003


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv28910/auth

Modified Files:
	login-connection.c main.c master-connection.c 
Log Message:
Removed I/O priorities. They were pretty much useless and were just getting
in way.



Index: login-connection.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/login-connection.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- login-connection.c	8 Feb 2003 17:13:36 -0000	1.22
+++ login-connection.c	23 May 2003 14:40:49 -0000	1.23
@@ -186,7 +186,7 @@
 	conn->input = i_stream_create_file(fd, default_pool, MAX_INBUF_SIZE,
 					   FALSE);
 	conn->output = o_stream_create_file(fd, default_pool, MAX_OUTBUF_SIZE,
-					    IO_PRIORITY_DEFAULT, FALSE);
+					    FALSE);
 	conn->io = io_add(fd, IO_READ, login_input, conn);
 
 	conn->pool = pool_alloconly_create("auth_request hash", 10240);

Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/main.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- main.c	4 Mar 2003 02:18:09 -0000	1.19
+++ main.c	23 May 2003 14:40:49 -0000	1.20
@@ -80,8 +80,7 @@
 
 	login_connections_init();
 
-	io_listen = io_add_priority(LOGIN_LISTEN_FD, IO_PRIORITY_LOW,
-				    IO_READ, auth_accept, NULL);
+	io_listen = io_add(LOGIN_LISTEN_FD, IO_READ, auth_accept, NULL);
 
 	/* initialize master last - it sends the "we're ok" notification */
 	master_connection_init();

Index: master-connection.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/master-connection.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- master-connection.c	15 May 2003 19:22:21 -0000	1.9
+++ master-connection.c	23 May 2003 14:40:49 -0000	1.10
@@ -166,8 +166,7 @@
 
 	master_pos = 0;
 	output = o_stream_create_file(MASTER_SOCKET_FD, default_pool,
-				      MAX_OUTBUF_SIZE, IO_PRIORITY_DEFAULT,
-				      FALSE);
+				      MAX_OUTBUF_SIZE, FALSE);
 	io_master = io_add(MASTER_SOCKET_FD, IO_READ, master_input, NULL);
 
 	/* just a note to master that we're ok. if we die before,



More information about the dovecot-cvs mailing list