]> granicus.if.org Git - curl/commit
Telnet: Write full buffer instead of byte-by-byte
authorRichard Hsu <richardhsu.cs@gmail.com>
Wed, 5 Apr 2017 02:26:29 +0000 (19:26 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 2 May 2017 21:23:39 +0000 (23:23 +0200)
commit862b02f8947039e9a7f5d6ae47b547e3bf295988
tree588e24ae1d27cb3efa7fbf53ce6248ad708e9f3b
parent913c3c8f5476bd7bc4d8d00509396bd4b525b8fc
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
lib/telnet.c
tests/data/Makefile.inc
tests/data/test1399 [new file with mode: 0644]