- Timestamp:
- 12/29/10 09:13:34 (13 years ago)
- Location:
- client/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
client/trunk/bin/sophie
r210 r217 16 16 't=s' => \my $type, 17 17 'd=s' => \my @options, 18 'proxy' => \my $proxy, 18 19 'daemon' => \my $daemon, 19 20 … … 37 38 $pass ||= $config{pass}; 38 39 $daemon ||= $config{daemon}; 40 $proxy ||= $config{proxy}; 39 41 } 40 42 … … 44 46 password => $pass, 45 47 type => $type, 48 proxy => $proxy, 46 49 ); 47 50 -
client/trunk/lib/Sophie/Client.pm
r216 r217 17 17 ); 18 18 $self->timeout(20) if ($self->can('timeout')); 19 if ($options{proxy}) { 20 $self->useragent->proxy([ 'http' ], $options{proxy}); 21 } else { 22 $self->useragent->env_proxy; 23 } 24 19 25 $self->{options} = { %options }; 26 20 27 21 28 if ($options{login}) {
Note: See TracChangeset
for help on using the changeset viewer.