test1523: basic test of CURLOPT_LOW_SPEED_LIMIT

This commit is contained in:
Daniel Stenberg 2019-06-13 12:08:57 +02:00
parent 21080e1828
commit cf35bd79bd
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 136 additions and 2 deletions

49
tests/data/test1523 Normal file
View file

@ -0,0 +1,49 @@
<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>
<killserver>
http
</killserver>
</client>
#
# Verify data after the test has been "shot"
<verify>
</verify>
</testcase>