Révision 89391118
Fixed autoconf on http_request_time
Previously it would error since the $url variable is
the array key isn't the url to check it's a santized version
| plugins/http/http_request_time | ||
|---|---|---|
| 90 | 90 |
my $ua = LWP::UserAgent->new(timeout => $timeout); |
| 91 | 91 |
|
| 92 | 92 |
foreach my $url (keys %URLS) {
|
| 93 |
my $response = $ua->request(HTTP::Request->new('GET',$url));
|
|
| 93 |
my $response = $ua->request(HTTP::Request->new('GET',$URLS{$url}{'url'}));
|
|
| 94 | 94 |
if ($response->is_success) {
|
| 95 | 95 |
next; |
| 96 | 96 |
} |
Formats disponibles : Unified diff