summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/monkey/qa/host_port_01.htt
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/lib/monkey/qa/host_port_01.htt')
-rw-r--r--src/fluent-bit/lib/monkey/qa/host_port_01.htt27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/monkey/qa/host_port_01.htt b/src/fluent-bit/lib/monkey/qa/host_port_01.htt
new file mode 100644
index 000000000..9dd58cf6b
--- /dev/null
+++ b/src/fluent-bit/lib/monkey/qa/host_port_01.htt
@@ -0,0 +1,27 @@
+################################################################################
+# DESCRIPTION
+# Validation for TCP port in the Host header
+#
+# AUTHOR
+# Eduardo Silva <edsiper@gmail.com>
+#
+# DATE
+# Jun 15 2012
+#
+# COMMENTS
+# It send a valid host TCP port with the max length allowed
+#
+################################################################################
+
+INCLUDE __CONFIG
+
+CLIENT
+_REQ $HOST $PORT
+__HEAD / $HTTPVER
+__Host: $HOST:20000
+__
+_EXPECT . "HTTP/1.1 200 OK"
+_EXPECT . "Content-Length"
+_EXPECT . "Content-Type"
+_WAIT 0
+END