Projet

Général

Profil

« Précédent | Suivant » 

Révision 0ae4f3fa

Ajouté par Manuel Silvoso il y a environ 10 ans

Changes to make it work behind a bluecoat proxy - added a user agent, and changed url scheme

Voir les différences:

etc/inc/pfsense-utils.inc
1705 1705
	curl_setopt($ch, CURLOPT_NOPROGRESS, '1');
1706 1706
	curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $connect_timeout);
1707 1707
	curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
1708
	curl_setopt($ch, CURLOPT_USERAGENT, $g['product_name'] . '/' . rtrim(file_get_contents("/etc/version")));
1708 1709

  
1709 1710
	if (!empty($config['system']['proxyurl'])) {
1710 1711
		curl_setopt($ch, CURLOPT_PROXY, $config['system']['proxyurl']);

Formats disponibles : Unified diff