httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r357153 - in /httpd/test/trunk/perl-framework/t: conf/extra.conf.in htdocs/apache/chunked/ htdocs/apache/chunked/flush.html http11/chunked2.t
Date Fri, 16 Dec 2005 11:53:39 GMT
Author: jorton
Date: Fri Dec 16 03:53:32 2005
New Revision: 357153

URL: http://svn.apache.org/viewcvs?rev=357153&view=rev
Log:
- regression test for the chunk filter bug; requires a mod_bucketeer
change to not pass the brigade for every FLUSH bucket

Added:
    httpd/test/trunk/perl-framework/t/htdocs/apache/chunked/
    httpd/test/trunk/perl-framework/t/htdocs/apache/chunked/flush.html   (with props)
    httpd/test/trunk/perl-framework/t/http11/chunked2.t
Modified:
    httpd/test/trunk/perl-framework/t/conf/extra.conf.in

Modified: httpd/test/trunk/perl-framework/t/conf/extra.conf.in
URL: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/conf/extra.conf.in?rev=357153&r1=357152&r2=357153&view=diff
==============================================================================
--- httpd/test/trunk/perl-framework/t/conf/extra.conf.in (original)
+++ httpd/test/trunk/perl-framework/t/conf/extra.conf.in Fri Dec 16 03:53:32 2005
@@ -519,3 +519,9 @@
     </Directory>
 
 </VirtualHost>
+
+<IfModule mod_bucketeer.c>
+   <Directory @DocumentRoot@/apache/chunked>
+       SetOutputFilter BUCKETEER
+   </Directory>
+</IfModule>

Added: httpd/test/trunk/perl-framework/t/htdocs/apache/chunked/flush.html
URL: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/htdocs/apache/chunked/flush.html?rev=357153&view=auto
==============================================================================
--- httpd/test/trunk/perl-framework/t/htdocs/apache/chunked/flush.html (added)
+++ httpd/test/trunk/perl-framework/t/htdocs/apache/chunked/flush.html Fri Dec 16 03:53:32
2005
@@ -0,0 +1 @@
+aaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbb
\ No newline at end of file

Propchange: httpd/test/trunk/perl-framework/t/htdocs/apache/chunked/flush.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: httpd/test/trunk/perl-framework/t/http11/chunked2.t
URL: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/http11/chunked2.t?rev=357153&view=auto
==============================================================================
--- httpd/test/trunk/perl-framework/t/http11/chunked2.t (added)
+++ httpd/test/trunk/perl-framework/t/http11/chunked2.t Fri Dec 16 03:53:32 2005
@@ -0,0 +1,18 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::Test;
+use Apache::TestUtil;
+use Apache::TestRequest;
+
+plan tests => 2, need 'bucketeer';
+
+Apache::TestRequest::user_agent(keep_alive => 1);
+
+# Regression test for ap_http_chunk_filter bug.
+
+my $r = GET("/apache/chunked/flush.html");
+
+ok t_cmp($r->code, 200, "successful response");
+
+ok t_cmp($r->content, "aaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbb");



Mime
View raw message