On Fri, 2015-09-11 at 02:10 +0200, Samuel Thibault wrote:
> Hello,
> 
> Thanks for the detailed description and testcase!  I could fix it, this
> case was actually apparently completely untested: reference counting was
> never reaching zero, and thus the sock never actually shut down.

Nice to see such a fast solution! I think I even understood most of
it :)

So the problem was all about reference counting in socket.c
(S_socket_connect). I searched for a solution in the earlier call to
sock.c (sock_connect) in that function. Oh well! Maybe this also solves
the ssh (intermittent) problems when unlinking/removing a named socket.


Reply via email to