From 862b02f8947039e9a7f5d6ae47b547e3bf295988 Mon Sep 17 00:00:00 2001 From: Richard Hsu Date: Tue, 4 Apr 2017 19:26:29 -0700 Subject: 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 --- tests/data/test1399 | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/data/test1399 (limited to 'tests/data/test1399') diff --git a/tests/data/test1399 b/tests/data/test1399 new file mode 100644 index 000000000..830960532 --- /dev/null +++ b/tests/data/test1399 @@ -0,0 +1,43 @@ + + + +TELNET +UPLOAD + + + +# +# Server-side + + + +# +# Client-side + + +http + + +telnet + + +TELNET check stdin to HTTP + + +GET /we/want/1399 HTTP/1.0 + + + +telnet://%HOSTIP:%HTTPPORT + + + +# +# Verify data after the test has been "shot" + + +GET /we/want/1399 HTTP/1.0 + + + + -- cgit v1.2.3