]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: library default pool allocation increases
authorPhil Carmody <phil@dovecot.fi>
Wed, 29 Aug 2018 11:49:54 +0000 (14:49 +0300)
committerPhil Carmody <phil@dovecot.fi>
Thu, 30 Aug 2018 10:26:52 +0000 (13:26 +0300)
Many pools will need to grow even when the smallest amount of work is
done within them, which can spam the logs.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
src/lib-http/http-request-parser.c

index 0862b623f418f25a048cdcb0bd4f407b8d1830aa..8cb44bad94c17ea708e6932f47719bcdad74912c 100644 (file)
@@ -52,7 +52,7 @@ http_request_parser_init(struct istream *input,
        uoff_t max_payload_size;
        enum http_message_parse_flags msg_flags = 0;
 
-       pool = pool_alloconly_create("http request parser", 512);
+       pool = pool_alloconly_create("http request parser", 1024);
        parser = p_new(pool, struct http_request_parser, 1);
        parser->pool = pool;