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

2018-03-07 Thread Andreas Schneider
On Monday, 26 February 2018 19:30:45 CET Alberto Aguirre wrote: > From: Chris Townsend > > 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) > >

[PATCH] connector: Check for POLLHUP on in_fd

2018-02-26 Thread Alberto Aguirre
From: Chris Townsend 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