dovecot-2.2-pigeonhole: lib-sieve: Increased a few initial memor...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Mar 3 17:55:11 EET 2013


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/f8fad363984d
changeset: 1715:f8fad363984d
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Jan 26 09:10:26 2013 +0100
description:
lib-sieve: Increased a few initial memory pool sizes.

diffstat:

 src/lib-sieve/plugins/editheader/ext-editheader-common.c |  2 +-
 src/lib-sieve/sieve-ast.c                                |  2 +-
 src/lib-sieve/sieve-binary.c                             |  2 +-
 src/lib-sieve/sieve-error.c                              |  4 ++--
 src/lib-sieve/sieve-validator.c                          |  2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diffs (69 lines):

diff -r ab15c5eabc09 -r f8fad363984d src/lib-sieve/plugins/editheader/ext-editheader-common.c
--- a/src/lib-sieve/plugins/editheader/ext-editheader-common.c	Sat Jan 26 08:52:27 2013 +0100
+++ b/src/lib-sieve/plugins/editheader/ext-editheader-common.c	Sat Jan 26 09:10:26 2013 +0100
@@ -64,7 +64,7 @@
 	}
 
 	T_BEGIN {
-		pool = pool_alloconly_create("editheader_config", 512);
+		pool = pool_alloconly_create("editheader_config", 1024);
 		ext_config = p_new(pool, struct ext_editheader_config, 1);
 		ext_config->pool = pool;
 		ext_config->max_header_size = EXT_EDITHEADER_DEFAULT_MAX_HEADER_SIZE;
diff -r ab15c5eabc09 -r f8fad363984d src/lib-sieve/sieve-ast.c
--- a/src/lib-sieve/sieve-ast.c	Sat Jan 26 08:52:27 2013 +0100
+++ b/src/lib-sieve/sieve-ast.c	Sat Jan 26 09:10:26 2013 +0100
@@ -59,7 +59,7 @@
 	struct sieve_ast *ast;
 	unsigned int ext_count;
 
-	pool = pool_alloconly_create("sieve_ast", 16384);
+	pool = pool_alloconly_create("sieve_ast", 32768);
 	ast = p_new(pool, struct sieve_ast, 1);
 	ast->pool = pool;
 	ast->refcount = 1;
diff -r ab15c5eabc09 -r f8fad363984d src/lib-sieve/sieve-binary.c
--- a/src/lib-sieve/sieve-binary.c	Sat Jan 26 08:52:27 2013 +0100
+++ b/src/lib-sieve/sieve-binary.c	Sat Jan 26 09:10:26 2013 +0100
@@ -43,7 +43,7 @@
 	const struct sieve_extension *const *ext_preloaded;
 	unsigned int i, ext_count;
 
-	pool = pool_alloconly_create("sieve_binary", 8192);
+	pool = pool_alloconly_create("sieve_binary", 16384);
 	sbin = p_new(pool, struct sieve_binary, 1);
 	sbin->pool = pool;
 	sbin->refcount = 1;
diff -r ab15c5eabc09 -r f8fad363984d src/lib-sieve/sieve-error.c
--- a/src/lib-sieve/sieve-error.c	Sat Jan 26 08:52:27 2013 +0100
+++ b/src/lib-sieve/sieve-error.c	Sat Jan 26 09:10:26 2013 +0100
@@ -1221,7 +1221,7 @@
 	if ( parent == NULL )
 		return NULL;
 
-	pool = pool_alloconly_create("sieve_prefix_error_handler", 256);
+	pool = pool_alloconly_create("sieve_prefix_error_handler", 512);
 	ehandler = p_new(pool, struct sieve_prefix_ehandler, 1);
 	sieve_error_handler_init_from_parent(&ehandler->handler, pool, parent);
 
@@ -1320,7 +1320,7 @@
 		return parent;
 	}
 
-	pool = pool_alloconly_create("sieve_varexpand_error_handler", 1024);
+	pool = pool_alloconly_create("sieve_varexpand_error_handler", 2048);
 	ehandler = p_new(pool, struct sieve_varexpand_ehandler, 1);
 	sieve_error_handler_init_from_parent(&ehandler->handler, pool, parent);
 
diff -r ab15c5eabc09 -r f8fad363984d src/lib-sieve/sieve-validator.c
--- a/src/lib-sieve/sieve-validator.c	Sat Jan 26 08:52:27 2013 +0100
+++ b/src/lib-sieve/sieve-validator.c	Sat Jan 26 09:10:26 2013 +0100
@@ -150,7 +150,7 @@
 	const struct sieve_extension *const *ext_preloaded;
 	unsigned int i, ext_count;
 
-	pool = pool_alloconly_create("sieve_validator", 8192);
+	pool = pool_alloconly_create("sieve_validator", 16384);
 	valdtr = p_new(pool, struct sieve_validator, 1);
 	valdtr->pool = pool;
 


More information about the dovecot-cvs mailing list