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 st...@apache.org on 2004/01/09 00:36:56 UTC

cvs commit: modperl-2.0/t/filter/TestFilter in_bbs_msg.pm

stas        2004/01/08 15:36:56

  Modified:    t/filter/TestFilter in_bbs_msg.pm
  Log:
  we want to remove the filter once it's no longer needed, but we can't due to a bug
  in httpd-2.0, but at least leave a comment of what should really be done
  
  Revision  Changes    Path
  1.5       +5 -0      modperl-2.0/t/filter/TestFilter/in_bbs_msg.pm
  
  Index: in_bbs_msg.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/filter/TestFilter/in_bbs_msg.pm,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- in_bbs_msg.pm	24 Sep 2003 00:54:34 -0000	1.4
  +++ in_bbs_msg.pm	8 Jan 2004 23:36:56 -0000	1.5
  @@ -53,6 +53,11 @@
           if ($data and $data =~ s,GET $from_url,GET $to_url,) {
               debug "GET line rewritten to be:\n$data";
               $bucket = APR::Bucket->new($data);
  +            # XXX: currently a bug in httpd doesn't allow to remove
  +            # the first connection filter. once it's fixed adjust the test
  +            # to test that it was invoked only once.
  +            # debug "removing the filter";
  +            # $filter->remove; # this filter is no longer needed
           }
   
           $bb->insert_tail($bucket);