Changeset 31874
- Timestamp:
- 2017-08-10T20:22:15+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/downloaders/WgetDownload.pm
r31864 r31874 181 181 if ($self->{'proxy_on'} && $self->{'proxy_host'} && $self->{'proxy_port'}) 182 182 { 183 184 if($self->{'url'} =~ m/^https\:/) { 185 $strOptions .= " -e https_proxy=$self->{'proxy_host'}:$self->{'proxy_port'} "; 186 } else { 187 $strOptions .= " -e http_proxy=$self->{'proxy_host'}:$self->{'proxy_port'} "; 188 } 183 $strOptions .= " -e https_proxy=$self->{'proxy_host'}:$self->{'proxy_port'} "; 184 $strOptions .= " -e http_proxy=$self->{'proxy_host'}:$self->{'proxy_port'} "; 189 185 190 186 if ($self->{'user_name'} && $self->{'user_password'})
Note:
See TracChangeset
for help on using the changeset viewer.