1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-13 04:55:03 -05:00
curl/tests/data/test1399
Richard Hsu 862b02f894 Telnet: Write full buffer instead of byte-by-byte
Previous TODO wanting to write in chunks. We should support writing more
at once since some TELNET servers may respond immediately upon first
byte written such as WHOIS servers.

Closes #1389
2017-05-02 23:23:39 +02:00

44 lines
475 B
Plaintext

<testcase>
<info>
<keywords>
TELNET
UPLOAD
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
http
</server>
<features>
telnet
</features>
<name>
TELNET check stdin to HTTP
</name>
<stdin>
GET /we/want/1399 HTTP/1.0
</stdin>
<command option="no-output">
telnet://%HOSTIP:%HTTPPORT
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
GET /we/want/1399 HTTP/1.0
</protocol>
</verify>
</testcase>