/[soft]/urpmi-proxy/trunk/urpmi-proxy.cgi
ViewVC logotype

Diff of /urpmi-proxy/trunk/urpmi-proxy.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8425 by alien, Wed Mar 21 11:55:45 2012 UTC revision 8426 by zezinho, Tue Jun 4 19:47:23 2013 UTC
# Line 6  use strict; Line 6  use strict;
6  use warnings;  use warnings;
7    
8  my $debug = 0;  my $debug = 0;
9    my $proxy = 0;
10  my $config_file = '/etc/urpmi-proxy.conf';  my $config_file = '/etc/urpmi-proxy.conf';
11    
12  # config defaults  # config defaults
# Line 293  foreach my $source (@sources) { Line 294  foreach my $source (@sources) {
294                                  $curl->setopt(CURLOPT_TIMEVALUE, $modified_since);                                  $curl->setopt(CURLOPT_TIMEVALUE, $modified_since);
295                          }                          }
296                          $curl->setopt(CURLOPT_USERAGENT, $user_agent) if $user_agent;                          $curl->setopt(CURLOPT_USERAGENT, $user_agent) if $user_agent;
297                            $curl->setopt(CURLOPT_PROXY, $proxy) if $proxy;
298                          $curl->setopt(CURLOPT_CONNECTTIMEOUT, $connect_timeout);                          $curl->setopt(CURLOPT_CONNECTTIMEOUT, $connect_timeout);
299                          $curl->setopt(CURLOPT_FTP_RESPONSE_TIMEOUT, $ftp_response_timeout);                          $curl->setopt(CURLOPT_FTP_RESPONSE_TIMEOUT, $ftp_response_timeout);
300                          $curl->setopt(CURLOPT_LOW_SPEED_LIMIT, $max_stall_speed);                          $curl->setopt(CURLOPT_LOW_SPEED_LIMIT, $max_stall_speed);

Legend:
Removed from v.8425  
changed lines
  Added in v.8426

  ViewVC Help
Powered by ViewVC 1.1.30