- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
DataStore/scripts/dsleech (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/DataStore/scripts/dsleech
r17739 r27840 18 18 use Pod::Usage qw( pod2usage ); 19 19 20 my ($dir, $uri, $last_fileset, $overwrite, $recall, $remember, $verbose, $timeout );20 my ($dir, $uri, $last_fileset, $overwrite, $recall, $remember, $verbose, $timeout, $no_proxy); 21 21 22 22 GetOptions( … … 28 28 'remember' => \$remember, 29 29 'verbose|v' => \$verbose, 30 'timeout|t' => \$timeout, 30 'timeout|t=i' => \$timeout, 31 'no-proxy' => \$no_proxy, 31 32 ) or pod2usage( 2 ); 32 33 … … 39 40 # default http request timeout is 30s 40 41 $timeout ||= 30; 42 $no_proxy = 0 if !defined $no_proxy; 41 43 42 44 my %p = ( … … 65 67 my $response = DataStore::Product->new(%p)->request( 66 68 ua_args => { timeout => $timeout }, 69 no_proxy => $no_proxy, 67 70 ); 68 71 … … 281 284 Optional. 282 285 286 =item * --no-proxy 287 288 Do not load proxy environment variables. 289 290 Optional. 291 283 292 =back 284 293
Note:
See TracChangeset
for help on using the changeset viewer.
