[dovecot-cvs] dovecot/src/master mail-process.c, 1.96.2.13, 1.96.2.14 master-settings-defs.c, 1.1.2.2, 1.1.2.3 master-settings.c, 1.125.2.24, 1.125.2.25 master-settings.h, 1.83.2.8, 1.83.2.9

tss at dovecot.org tss at dovecot.org
Fri Feb 2 11:20:23 UTC 2007


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv23368/src/master

Modified Files:
      Tag: branch_1_0
	mail-process.c master-settings-defs.c master-settings.c 
	master-settings.h 
Log Message:
Added mail_log_max_lines_per_sec setting.



Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.96.2.13
retrieving revision 1.96.2.14
diff -u -d -r1.96.2.13 -r1.96.2.14
--- mail-process.c	24 Jan 2007 17:39:09 -0000	1.96.2.13
+++ mail-process.c	2 Feb 2007 11:20:21 -0000	1.96.2.14
@@ -480,7 +480,7 @@
 	}
 
 	if (!dump_capability) {
-		log_fd = log_create_pipe(&log, 10);
+		log_fd = log_create_pipe(&log, set->mail_log_max_lines_per_sec);
 		if (log_fd == -1)
 			return FALSE;
 	} else {

Index: master-settings-defs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings-defs.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- master-settings-defs.c	28 Dec 2006 16:27:46 -0000	1.1.2.2
+++ master-settings-defs.c	2 Feb 2007 11:20:21 -0000	1.1.2.3
@@ -96,6 +96,7 @@
 	DEF(SET_STR, mail_plugins),
 	DEF(SET_STR, mail_plugin_dir),
 	DEF(SET_STR, mail_log_prefix),
+	DEF(SET_STR, mail_log_max_lines_per_sec),
 
 	/* imap */
 	DEF(SET_INT, imap_max_line_length),

Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.125.2.24
retrieving revision 1.125.2.25
diff -u -d -r1.125.2.24 -r1.125.2.25
--- master-settings.c	18 Jan 2007 16:36:45 -0000	1.125.2.24
+++ master-settings.c	2 Feb 2007 11:20:21 -0000	1.125.2.25
@@ -247,6 +247,7 @@
 	MEMBER(mail_plugins) "",
 	MEMBER(mail_plugin_dir) MODULEDIR"/imap",
 	MEMBER(mail_log_prefix) "%Us(%u): ",
+	MEMBER(mail_log_max_lines_per_sec) 10,
 
 	/* imap */
 	MEMBER(imap_max_line_length) 65536,

Index: master-settings.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.83.2.8
retrieving revision 1.83.2.9
diff -u -d -r1.83.2.8 -r1.83.2.9
--- master-settings.h	28 Dec 2006 16:27:46 -0000	1.83.2.8
+++ master-settings.h	2 Feb 2007 11:20:21 -0000	1.83.2.9
@@ -104,6 +104,7 @@
 	const char *mail_plugins;
 	const char *mail_plugin_dir;
 	const char *mail_log_prefix;
+	unsigned int mail_log_max_lines_per_sec;
 
 	/* imap */
 	unsigned int imap_max_line_length;



More information about the dovecot-cvs mailing list