HomePhabricator

channels: Set error state when closed channel is read

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Dec 3 2018, 5:27 PM.

Description

channels: Set error state when closed channel is read

When an attempt to read a closed channel happens, set the session error
state properly.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnDec 7 2018, 5:44 PM
Parents
rLIBSSHd78a29eb792f: sftp: Set error when EOF is received in sftp_packet_read()
Branches
Unknown
Tags
Unknown