summaryrefslogtreecommitdiff
path: root/lib/memtypes.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-05-14 14:24:06 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-08 15:10:54 -0400
commit009a4a07ff1f8188c9e3e7ae39f08a0501653af7 (patch)
tree16774e103f1c9949e073121749329f472770410f /lib/memtypes.c
parentdbf78092dae5717334dbb0f20fa540a47fbebb70 (diff)
lib/vty: don't clear output buffer on input EOF
A VTY's input can be closed without the output becoming unavailable. This happens both on stdio when stdin ends, as well as over TCP when an unidirectional input shutdown() happens. In such a case, resetting the output buffer is not appropriate since there might still be data to be successfully written. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/memtypes.c')
0 files changed, 0 insertions, 0 deletions