check for POLLHUP as well as POLLIN, handle transient IO errors as well
authordjm <djm@openbsd.org>
Thu, 18 Nov 2021 03:06:03 +0000 (03:06 +0000)
committerdjm <djm@openbsd.org>
Thu, 18 Nov 2021 03:06:03 +0000 (03:06 +0000)
commit8db1b0e22020a6e94fb0bb80c194bdc6d50da921
treeb2c1f09f0f4508cccaab21159861e8391bd81568
parentf2ae9698254480957e1e899d9ee42e877f96cd31
check for POLLHUP as well as POLLIN, handle transient IO errors as well
as half-close on the output side; ok deraadt millert
usr.bin/ssh/sftp-server.c