httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1685463 - /httpd/test/framework/trunk/t/apache/chunkinput.t
Date Sun, 14 Jun 2015 20:55:56 GMT
Author: ylavic
Date: Sun Jun 14 20:55:55 2015
New Revision: 1685463

URL: http://svn.apache.org/r1685463
Log:
Test trailing spaces after chunk-size (2.4.14 regression).

Modified:
    httpd/test/framework/trunk/t/apache/chunkinput.t

Modified: httpd/test/framework/trunk/t/apache/chunkinput.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/chunkinput.t?rev=1685463&r1=1685462&r2=1685463&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/chunkinput.t (original)
+++ httpd/test/framework/trunk/t/apache/chunkinput.t Sun Jun 14 20:55:55 2015
@@ -6,7 +6,12 @@ use Apache::TestUtil;
 use Apache::TestRequest ();
 
 my @test_strings = ("0",
+                    "A\r\n1234567890\r\n0",
+                    "A    \r\n1234567890\r\n0",
+                    "A; ext=val\r\n1234567890\r\n0",
                     "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
+                    "A; ext=\x7Fval\r\n1234567890\r\n0",
+                    " A",
                     );
 my @req_strings =  ("/echo_post_chunk",
                     "/i_do_not_exist_in_your_wildest_imagination");
@@ -19,6 +24,16 @@ my @resp_strings;
 if (have_apache(1)) {
    @resp_strings = ("HTTP/1.1 200 OK",
                     "HTTP/1.1 404 Not Found",
+                    "HTTP/1.1 200 OK",
+                    "HTTP/1.1 404 Not Found",
+                    "HTTP/1.1 200 OK",
+                    "HTTP/1.1 404 Not Found",
+                    "HTTP/1.1 200 OK",
+                    "HTTP/1.1 404 Not Found",
+                    "HTTP/1.1 400 Bad Request",
+                    "HTTP/1.1 400 Bad Request",
+                    "HTTP/1.1 400 Bad Request",
+                    "HTTP/1.1 400 Bad Request",
                     "HTTP/1.1 400 Bad Request",
                     "HTTP/1.1 400 Bad Request",
 		   );
@@ -26,8 +41,18 @@ if (have_apache(1)) {
 else {
    @resp_strings = ("HTTP/1.1 200 OK",
                     "HTTP/1.1 404 Not Found",
+                    "HTTP/1.1 200 OK",
+                    "HTTP/1.1 404 Not Found",
+                    "HTTP/1.1 200 OK",
+                    "HTTP/1.1 404 Not Found",
+                    "HTTP/1.1 200 OK",
+                    "HTTP/1.1 404 Not Found",
                     "HTTP/1.1 413 Request Entity Too Large",
                     "HTTP/1.1 413 Request Entity Too Large",
+                    "HTTP/1.1 400 Bad Request",
+                    "HTTP/1.1 400 Bad Request",
+                    "HTTP/1.1 400 Bad Request",
+                    "HTTP/1.1 400 Bad Request",
                    );
 }
 



Mime
View raw message