From d99eed13988c078c431b5859044bc6c2a949f7aa Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 30 Nov 2010 21:18:40 -0500 Subject: Initial connect timeout should really answer before 10 seconds. 60 seconds overall timeout --- config/autoconfigbackup/autoconfigbackup.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/autoconfigbackup') diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc index 371ff3b7..b11f862e 100644 --- a/config/autoconfigbackup/autoconfigbackup.inc +++ b/config/autoconfigbackup/autoconfigbackup.inc @@ -195,7 +195,7 @@ function upload_config($reasonm = "") { curl_setopt($curl_session, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_session, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl_session, CURLOPT_CONNECTTIMEOUT, 35); - curl_setopt($curl_session, CURLOPT_TIMEOUT, 60); + curl_setopt($curl_session, CURLOPT_TIMEOUT, 10); $data = curl_exec($curl_session); if (curl_errno($curl_session)) { -- cgit v1.2.3