Andreas Schneider <[email protected]> skribis: > On Thursday, January 10, 2019 6:12:36 PM CET Ludovic Courtès wrote:
[...] >> Apparently libssh only ever polls for POLLIN events; on GNU/Linux, I >> think it would be useful to poll for POLLIN | POLLRDHUP, which would >> allow connection shutdowns to be caught, as opposed to sitting in a >> poll(2) call. I believe the change would be along these lines: > > does the attached patch look fine for you? It does, thank you! Ludo’.
