You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2002/03/24 03:55:44 UTC

cvs commit: modperl/lib/Apache test.pm

dougm       02/03/23 18:55:44

  Modified:    lib/Apache test.pm
  Log:
  change lwp default to use HTTP/1.0, preventing a pile of warnings in
  t/internal/http-get
  
  Revision  Changes    Path
  1.24      +2 -0      modperl/lib/Apache/test.pm
  
  Index: test.pm
  ===================================================================
  RCS file: /home/cvs/modperl/lib/Apache/test.pm,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- test.pm	26 Aug 2001 18:29:55 -0000	1.23
  +++ test.pm	24 Mar 2002 02:55:44 -0000	1.24
  @@ -12,6 +12,8 @@
   @EXPORT_OK = qw(have_httpd);
   
   BEGIN { 
  +    $ENV{PERL_LWP_USE_HTTP_10} = 1; #default to http/1.0
  +
       if(not $ENV{MOD_PERL}) {
   	eval { require "net/config.pl"; }; #for 'make test'
   	$PERL_DIR = $net::perldir;