diff options
author | Chris Luke <chrisy@flirble.org> | 2018-09-05 21:00:52 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-09-06 14:40:15 +0000 |
commit | a9cf6afa3e2cbc881a41ee6930e2a7d1797c8cf0 (patch) | |
tree | 83714061158318416460ac55dcd86e2ab4452a97 /src/vlib/linux | |
parent | 483a54b8d0886ed9f5f97b0b377d7adb4c810f29 (diff) |
Fix Telnet option processing issue
- A check for the length of the buffer should have used the provided
'len' variable, not 'vec_len' since the buffer pointer may be
within a vector, but not the start of one. 'vec_len' reports 0
in that case, causing premature exit from the options processing
loop and a wait for further input before it checks the next option.
- Also add TCP_NODELAY to CLI sockets to disable Nagle on TCP
connections for a possible improvement in interactive response.
Change-Id: Ie1f53c003ca7d66bed51f437d298183215bad38c
Signed-off-by: Chris Luke <chrisy@flirble.org>
Diffstat (limited to 'src/vlib/linux')
0 files changed, 0 insertions, 0 deletions