From: Stephan Bosch Date: Sat, 17 Mar 2018 17:05:01 +0000 (+0100) Subject: lib-smtp: test-smtp-payload: Make proper definition for the maximum number of paralle... X-Git-Tag: 2.3.9~1805 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6f4c7124dc9a16fef7ab14552773185d4207d6e;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: test-smtp-payload: Make proper definition for the maximum number of parallel transactions. --- diff --git a/src/lib-smtp/test-smtp-payload.c b/src/lib-smtp/test-smtp-payload.c index 8a6644fbb3..42543fad6f 100644 --- a/src/lib-smtp/test-smtp-payload.c +++ b/src/lib-smtp/test-smtp-payload.c @@ -27,6 +27,8 @@ #include #include +#define MAX_PARALLEL_PENDING 200 + static bool debug = FALSE; static unsigned int test_max_pending = 1; @@ -843,7 +845,7 @@ static void test_run_scenarios(enum smtp_protocol protocol, test_out("sequential", TRUE); - test_max_pending = 200; + test_max_pending = MAX_PARALLEL_PENDING; test_unknown_size = FALSE; test_files_init(); test_run_client_server(protocol, @@ -855,7 +857,7 @@ static void test_run_scenarios(enum smtp_protocol protocol, smtp_server_set.max_pipelined_commands = 5; smtp_server_set.capabilities |= SMTP_CAPABILITY_PIPELINING; - test_max_pending = 200; + test_max_pending = MAX_PARALLEL_PENDING; test_unknown_size = FALSE; test_files_init(); test_run_client_server(protocol, @@ -867,7 +869,7 @@ static void test_run_scenarios(enum smtp_protocol protocol, smtp_server_set.max_pipelined_commands = 5; smtp_server_set.capabilities |= SMTP_CAPABILITY_PIPELINING; - test_max_pending = 200; + test_max_pending = MAX_PARALLEL_PENDING; test_unknown_size = TRUE; test_files_init(); test_run_client_server(protocol,