diff options
author | Ermal <eri@pfsense.org> | 2011-05-27 10:46:33 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-05-27 10:46:33 +0000 |
commit | 93b8df2a16137c737b5e7d16a070cb3e341cc1ec (patch) | |
tree | 7dffa7015e66992111da2164307589baf0a776bc /etc/inc/dyndns.class | |
parent | 71070cc55fff338e93ed945e429b585acf72d4bb (diff) | |
download | pfsense-93b8df2a16137c737b5e7d16a070cb3e341cc1ec.zip pfsense-93b8df2a16137c737b5e7d16a070cb3e341cc1ec.tar.gz |
Increase timeout to 2 minutes. Ticket #1545.
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r-- | etc/inc/dyndns.class | 4 |
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); |