mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:03:43 +03:00
test1523: basic test of CURLOPT_LOW_SPEED_LIMIT
This commit is contained in:
parent
21080e1828
commit
cf35bd79bd
4 changed files with 136 additions and 2 deletions
49
tests/data/test1523
Normal file
49
tests/data/test1523
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue