summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-05-27 10:46:33 +0000
committerErmal <eri@pfsense.org>2011-05-27 10:46:33 +0000
commit93b8df2a16137c737b5e7d16a070cb3e341cc1ec (patch)
tree7dffa7015e66992111da2164307589baf0a776bc /etc
parent71070cc55fff338e93ed945e429b585acf72d4bb (diff)
downloadpfsense-93b8df2a16137c737b5e7d16a070cb3e341cc1ec.zip
pfsense-93b8df2a16137c737b5e7d16a070cb3e341cc1ec.tar.gz
Increase timeout to 2 minutes. Ticket #1545.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/dyndns.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index e155c20..65defb2 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -183,7 +183,7 @@
curl_setopt($ch, CURLOPT_USERAGENT, $this->_UserAgent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_INTERFACE, $this->_ifIP);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60); // Completely empirical
+ curl_setopt($ch, CURLOPT_TIMEOUT, 120); // Completely empirical
}
switch ($this->_dnsService) {
@@ -966,7 +966,7 @@
curl_setopt($ip_ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ip_ch, CURLOPT_INTERFACE, $ip_address);
curl_setopt($ip_ch, CURLOPT_CONNECTTIMEOUT, '30');
- curl_setopt($ip_ch, CURLOPT_TIMEOUT, 60);
+ curl_setopt($ip_ch, CURLOPT_TIMEOUT, 120);
$ip_result_page = curl_exec($ip_ch);
curl_close($ip_ch);
$ip_result_decoded = urldecode($ip_result_page);
OpenPOWER on IntegriCloud