conncheck: better handle remote tcp disconnection
With this patch, we handle tcp disconnections in a more robust way. Such disconnections cause the underlying socket to be detached, and various related pairs have to be discarded from the conncheck list. This may cause unexpected behaviour, like a previously connected component to come back in state connecting, if the selected pair is concerned by a tcp disconnection for example.
Showing with 41 additions and 13 deletions