httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm
Date Wed, 03 Apr 2002 23:16:01 GMT
dougm       02/04/03 15:16:01

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  fix proxyssl_url discovery when mod_ssl is not enabled
  
  Revision  Changes    Path
  1.126     +4 -2      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.125
  retrieving revision 1.126
  diff -u -r1.125 -r1.126
  --- TestConfig.pm	29 Mar 2002 17:05:37 -0000	1.125
  +++ TestConfig.pm	3 Apr 2002 23:16:01 -0000	1.126
  @@ -984,8 +984,10 @@
       my $vars = $self->{vars};
   
       unless ($vars->{proxyssl_url}) {
  -        $vars->{proxyssl_url} ||=
  -          $self->{vhosts}->{ $vars->{ssl_module_name} }->{hostport};
  +        my $ssl = $self->{vhosts}->{ $vars->{ssl_module_name} };
  +        if ($ssl) {
  +            $vars->{proxyssl_url} ||= $ssl->{hostport};
  +        }
   
           if ($vars->{proxyssl_url}) {
               $vars->{maxclients}++;
  
  
  

Mime
View raw message