[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] connector: Check for POLLHUP on in_fd
[Thread Prev] | [Thread Next]
- Subject: Re: [PATCH] connector: Check for POLLHUP on in_fd
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 07 Mar 2018 15:49:01 +0100
- To: libssh@xxxxxxxxxx
- Cc: Chris Townsend <christopher.townsend@xxxxxxxxxxxxx>, Alberto Aguirre <albaguirre@xxxxxxxxx>
On Monday, 26 February 2018 19:30:45 CET Alberto Aguirre wrote: > From: Chris Townsend <christopher.townsend@xxxxxxxxxxxxx> > > POLLHUP needs to be checked on in_fd, which may be a pipe. > A pipe in Linux signals EOF through POLLHUP (see: > http://www.greenend.org.uk/rjk/tech/poll.html) > > Without checking POLLHUP, a client could spin up indefinetely > doing ssh_event_dopoll. I've pushed both connector patches to master. Thanks! -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Archive administrator: postmaster@lists.cynapses.org