aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-30 21:17:34 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-30 21:17:34 -0500
commit4f73a02b06b5e4e1d9014c77205c71ee14fe6f71 (patch)
treed18662c31758dbfb6c2c0bf604ad47ffd0083802 /config
parent7cf78c39000a6f4a0cc1f1378b6794cb1e8b2a6a (diff)
downloadpfsense-packages-4f73a02b06b5e4e1d9014c77205c71ee14fe6f71.tar.gz
pfsense-packages-4f73a02b06b5e4e1d9014c77205c71ee14fe6f71.tar.bz2
pfsense-packages-4f73a02b06b5e4e1d9014c77205c71ee14fe6f71.zip
Set CURLOPT_TIMEOUT to 60
Diffstat (limited to 'config')
-rw-r--r--config/autoconfigbackup/autoconfigbackup.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc
index 06aed8e7..371ff3b7 100644
--- a/config/autoconfigbackup/autoconfigbackup.inc
+++ b/config/autoconfigbackup/autoconfigbackup.inc
@@ -195,7 +195,8 @@ 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);
+
$data = curl_exec($curl_session);
if (curl_errno($curl_session)) {
$fd = fopen("/tmp/backupdebug.txt", "w");