Project

General

Profile

« Previous | Next » 

Revision 181386d6

Added by Florian Asche over 11 years ago

Update services.inc

Added CURL setops from dyndns.class

View differences:

etc/inc/services.inc
1686 1686
		curl_setopt($ip_ch, CURLOPT_RETURNTRANSFER, 1);
1687 1687
		curl_setopt($ip_ch, CURLOPT_SSL_VERIFYPEER, FALSE);
1688 1688
		curl_setopt($ip_ch, CURLOPT_INTERFACE, $ip_address);
1689
		curl_setopt($ip_ch, CURLOPT_CONNECTTIMEOUT, '30');
1690
		curl_setopt($ip_ch, CURLOPT_TIMEOUT, 120);
1689 1691
		curl_setopt($ip_ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
1690 1692
		$ip_result_page = curl_exec($ip_ch);
1691 1693
		curl_close($ip_ch);

Also available in: Unified diff