aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-12 15:27:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-12 15:27:01 +0000
commit56a27d608a1cfc38a29445155873dedc0ffabaab (patch)
treec10ba5135e52baa9aa0eca1a723b7922352e7788
parent46c9075eab051e87b4451979cd57abd89c7a2534 (diff)
Added test case 36:
[HTTP GET with badly formatted chunked Transfer-Encoding]
-rw-r--r--tests/data/Makefile.am3
-rw-r--r--tests/data/command36.txt1
-rw-r--r--tests/data/error36.txt1
-rw-r--r--tests/data/name36.txt1
-rw-r--r--tests/data/reply36.txt8
5 files changed, 13 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index a76d09b5c..b61bb5ccf 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -64,4 +64,5 @@ command32.txt prot31.txt reply310001.txt reply320001.txt \
name31.txt prot32.txt reply310002.txt reply320002.txt \
command33.txt extra33.txt name33.txt prot33.txt reply33.txt \
command34.txt prot34.txt reply340001.txt name34.txt reply34.txt \
-command35.txt name35.txt prot35.txt reply35.txt
+command35.txt name35.txt prot35.txt reply35.txt \
+command36.txt error36.txt name36.txt reply36.txt \ No newline at end of file
diff --git a/tests/data/command36.txt b/tests/data/command36.txt
new file mode 100644
index 000000000..34379734f
--- /dev/null
+++ b/tests/data/command36.txt
@@ -0,0 +1 @@
+http://%HOSTIP:%HOSTPORT/36
diff --git a/tests/data/error36.txt b/tests/data/error36.txt
new file mode 100644
index 000000000..6f4247a62
--- /dev/null
+++ b/tests/data/error36.txt
@@ -0,0 +1 @@
+26
diff --git a/tests/data/name36.txt b/tests/data/name36.txt
new file mode 100644
index 000000000..786f1ad8a
--- /dev/null
+++ b/tests/data/name36.txt
@@ -0,0 +1 @@
+HTTP GET with badly formatted chunked Transfer-Encoding
diff --git a/tests/data/reply36.txt b/tests/data/reply36.txt
new file mode 100644
index 000000000..c5269e987
--- /dev/null
+++ b/tests/data/reply36.txt
@@ -0,0 +1,8 @@
+HTTP/1.1 200 funky chunky!
+Server: fakeit/1.0
+Transfer-Encoding: chunked
+
+40
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ILLEGAL
+bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb