]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: increase pool sizes in tests
authorPhil Carmody <phil@dovecot.fi>
Tue, 19 Jun 2018 10:29:46 +0000 (13:29 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 15 Feb 2019 12:48:41 +0000 (12:48 +0000)
Pool growth messages spam the test output, just dive in with a slightly
larger default to shut them up. Only affects these individual tests,
not any other users of the library.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
src/lib-http/test-http-payload.c
src/lib-http/test-http-server-errors.c

index e51dd0843a847bcc532fa87086c4b3f72900003c..fac3f98827d7a12bde31c26a0835981a211ada79 100644 (file)
@@ -563,7 +563,7 @@ static void client_init(int fd)
 
        net_set_nonblock(fd, TRUE);
 
-       pool = pool_alloconly_create("client", 256);
+       pool = pool_alloconly_create("client", 512);
        client = p_new(pool, struct client, 1);
        client->pool = pool;
 
index 50af5dc4bbea78cfd910242dc1bc314d9b269de2..260b971af29aeccbdc5f0849a1e8f916b9e70798 100644 (file)
@@ -613,7 +613,7 @@ client_connection_init(const struct ip_addr *ip, in_port_t port)
        struct client_connection *conn;
        pool_t pool;
 
-       pool = pool_alloconly_create("client connection", 256);
+       pool = pool_alloconly_create("client connection", 512);
        conn = p_new(pool, struct client_connection, 1);
        conn->pool = pool;