perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: 2.0.3 and httpd 2.2
Date Thu, 15 Dec 2005 00:09:48 GMT
> The mod_perl test suite does pass with 2.2.0 in case that wasn't clear,
> the failure I pointed out is new and is only seen if using the 2.2.x
> branch (that-which-will-become-2.2.1).  (it seems to be explicitly
> testing that "C-L: 0" is stripped from a HEAD response; that behaviour
> was a bug which has been fixed)

FBSD  6.0-R
PERL 5.8.7-ithread
APR threaded
httpd svn (2.3.0-dev) from about 1 hour ago w/ event mpm
mod_perl svn

t/apache/content_length_header.t
# testing : HEAD /TestApache__content_length_header?set_content_length C-L 
header
# expected: undef
# received: 25
not ok 17

[PATCH]
Regression tested on the same as above, but with
httpd 2.0.55-worker
httpd 2.2.0-event

Index: content_length_header.t
===================================================================
--- content_length_header.t     (revision 354625)
+++ content_length_header.t     (working copy)
@@ -65,7 +65,7 @@
          my $res = $method->($uri);

          my $cl      = 0;
-        my $head_cl = undef;
+        my $head_cl = have_min_apache_version(2.3) ? 25 : undef;

          ok t_cmp $res->code, 200, "$method $uri code";
          ok t_cmp ($res->header('Content-Length'),





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message