dovecot-2.2: Mark more memory pools as growing

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 25 10:41:14 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/33c434858f41
changeset: 17838:33c434858f41
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 25 13:40:54 2014 +0300
description:
Mark more memory pools as growing

diffstat:

 src/lib-http/http-server-request.c |  2 +-
 src/lib-index/mail-cache-lookup.c  |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 569d41d21ec3 -r 33c434858f41 src/lib-http/http-server-request.c
--- a/src/lib-http/http-server-request.c	Thu Sep 25 13:38:09 2014 +0300
+++ b/src/lib-http/http-server-request.c	Thu Sep 25 13:40:54 2014 +0300
@@ -10,7 +10,7 @@
 	pool_t pool;
 	struct http_server_request *req;
 
-	pool = pool_alloconly_create("http_message", 4096);
+	pool = pool_alloconly_create(MEMPOOL_GROWING"http_server_request", 4096);
 	req = p_new(pool, struct http_server_request, 1);
 	req->pool = pool;
 	req->refcount = 1;
diff -r 569d41d21ec3 -r 33c434858f41 src/lib-index/mail-cache-lookup.c
--- a/src/lib-index/mail-cache-lookup.c	Thu Sep 25 13:38:09 2014 +0300
+++ b/src/lib-index/mail-cache-lookup.c	Thu Sep 25 13:40:54 2014 +0300
@@ -542,7 +542,7 @@
 	/* lookup the fields */
 	memset(&ctx, 0, sizeof(ctx));
 	ctx.view = view;
-	ctx.pool = *pool_r = pool_alloconly_create("mail cache headers", 1024);
+	ctx.pool = *pool_r = pool_alloconly_create(MEMPOOL_GROWING"mail cache headers", 1024);
 	t_array_init(&ctx.lines, 32);
 
 	mail_cache_lookup_iter_init(view, seq, &iter);


More information about the dovecot-cvs mailing list