Commit f721ed7 1 parent e1a782a commit f721ed7 Copy full SHA for f721ed7
File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Revision history for GLPI agent
5
5
core:
6
6
* fix #851: glpi-agent should also try to request CONTACT after GLPI 10+ answer on PROLOG
7
7
* Reworked target responses caching for event handling
8
+ * Support 'none' as proxy configuration to not try to use proxy set in environment variables
8
9
9
10
inventory:
10
11
* On windows, don't cache system is not 64 bits for the service lifetime as this can
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ sub new {
77
77
78
78
my $proxy = $params {proxy } || $config -> {' proxy' };
79
79
if ($proxy ) {
80
- $self -> {ua }-> proxy([' http' , ' https' ], $proxy );
80
+ $self -> {ua }-> proxy([' http' , ' https' ], $proxy )
81
+ unless $proxy eq ' none' ;
81
82
} else {
82
83
$self -> {ua }-> env_proxy();
83
84
}
You can’t perform that action at this time.
0 commit comments