From bf3162b5c61766bf535c2c735b00b1a0c3208605 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 24 May 2018 14:31:31 +0200 Subject: Lower default timeout from 120s to 30s 120s is an insanely high default time out, lower it to 30s to make things a bit nicer. (cherry picked from commit 329a4a6159f1972ff5ec7bc2db26430f26dc61f3) --- methods/ftp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'methods/ftp.cc') diff --git a/methods/ftp.cc b/methods/ftp.cc index 2daba8ffe..fefe3cfbb 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -63,7 +63,7 @@ struct AFMap AFMap[] = {{AF_INET,1},{0, 0}}; struct AFMap AFMap[] = {{AF_INET,1},{AF_INET6,2},{0, 0}}; #endif -unsigned long TimeOut = 120; +unsigned long TimeOut = 30; URI Proxy; string FtpMethod::FailFile; int FtpMethod::FailFd = -1; -- cgit v1.2.3