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

View file

@ -169,7 +169,7 @@ test1444 test1445 test1446 test1447 test1448 test1449 test1450 test1451 \
test1452 test1453 test1454 test1455 test1456 test1457 test1458\
test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \
test1516 test1517 test1518 test1519 test1520 test1521 test1522 \
test1516 test1517 test1518 test1519 test1520 test1521 test1522 test1523 \
\
test1525 test1526 test1527 test1528 test1529 test1530 test1531 test1532 \
test1533 test1534 test1535 test1536 test1537 test1538 \

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>