summaryrefslogtreecommitdiff
path: root/tests/data/test1523
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-06-13 12:08:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-06-14 10:18:46 +0200
commit690e0f2975a414715b207c69bb99dc3a00350579 (patch)
tree7d8fc1fdf5a6fa91a0e10c1ac5c181b404c2c0f0 /tests/data/test1523
parenteb2b281879327ed90ac1d6e6c1efed2371656226 (diff)
downloadcurl-690e0f2975a414715b207c69bb99dc3a00350579.tar.gz
test1523: basic test of CURLOPT_LOW_SPEED_LIMIT
Diffstat (limited to 'tests/data/test1523')
-rw-r--r--tests/data/test152346
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/data/test1523 b/tests/data/test1523
new file mode 100644
index 000000000..9ed938604
--- /dev/null
+++ b/tests/data/test1523
@@ -0,0 +1,46 @@
+<testcase>
+<info>
+<keywords>
+CURLINFO_LOW_SPEED_LIMIT
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<data nocheck="yes">
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 3
+Connection: close
+Funny-head: yesyes
+
+AA
+</data>
+<servercmd>
+writedelay: 1
+</servercmd>
+</reply>
+#
+# Client-side
+<client>
+<server>
+http
+</server>
+<tool>
+lib1523
+</tool>
+
+<name>
+CURLINFO_LOW_SPEED_LIMIT
+</name>
+
+<command>
+http://%HOSTIP:%HTTPPORT/1523
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>