]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: client: Decreased request/connect timeout for test-http-client to 10s.
authorStephan Bosch <stephan@rename-it.nl>
Thu, 25 Feb 2016 22:15:45 +0000 (00:15 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 25 Feb 2016 22:15:45 +0000 (00:15 +0200)
src/lib-http/test-http-client.c

index 802484c71e82bcd922b5291c3dc1513a382fb573..883cf52ddbb3a342aa66372e9de05ff719d8445d 100644 (file)
@@ -365,6 +365,7 @@ int main(int argc, char *argv[])
        http_set.max_parallel_connections = 4;
        http_set.max_pipelined_requests = 4;
        http_set.max_redirects = 2;
+       http_set.request_timeout_msecs = 10*1000;
        http_set.max_attempts = 1;
        http_set.debug = TRUE;
        http_set.rawlog_dir = "/tmp/http-test";