[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] connector: Check for POLLHUP on in_fd


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