/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test1714
56 строк
870 B
Daniel Stenberg
test1714: verify telnet download with --max-filesize
23 мар 2026, 16:32
Не верифицирован
23 мар 2026, 16:32
07d109b
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> TELNET </keywords> </info> <reply> <data crlf="headers" nocheck="yes"> HTTP/1.0 200 OK swsclose Content-Length: 330000 Connection: close %repeat[10000 x boring data to send to the client]% </data> </reply> <client> <server> http </server> <features> telnet !win32 </features> <name> TELNET download with --max-filesize </name> <stdin crlf="headers"> GET /this/for/%TESTNUMBER HTTP/1.0 </stdin> <command option="no-output"> telnet://%HOSTIP:%HTTPPORT --max-filesize 99995 </command> </client> <verify> <protocol crlf="headers"> GET /this/for/%TESTNUMBER HTTP/1.0 </protocol> <stdout crlf="headers" nonewline="yes"> HTTP/1.0 200 OK swsclose Content-Length: 330000 Connection: close %repeat[3028 x boring data to send to the client]% </stdout> <errorcode> 63 </errorcode> </verify> </testcase>