[Top][All Lists]

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

Re: pflocal socket bug

From: Svante Signell
Subject: Re: pflocal socket bug
Date: Fri, 11 Sep 2015 17:42:19 +0200

On Fri, 2015-09-11 at 10:34 +0200, Svante Signell wrote:
> 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 :)

I've tested the patched pflocal and the broken socket is reported in the
client connect() call :)

One small problem though with the socklog package:
It assumes ECONNREFUSED and now pflocal/connect reports EADDRNOTAVAIL.
It seems like EADDRNOTAVAIL is an appropriate error, but since both
Linux and pfinet reports ECONNREFUSED maybe Hurd should do that to.
Otherwise I can create a patch for the socklog package. WDYT?

> Maybe this also solves
> the ssh (intermittent) problems when unlinking/removing a named socket.

It seem like the ssh(d) delays are gone, and I'm able to log in
immediately with no minute-long timeouts :) More testing is needed

reply via email to

[Prev in Thread] Current Thread [Next in Thread]