Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 13:01:00 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        current@freebsd.org
Cc:        des@freebsd.org
Subject:   Re: Coredump from pkg_add + analysis
Message-ID:  <Pine.BSF.4.21.0210251258390.73356-100000@root.org>
In-Reply-To: <Pine.BSF.4.21.0209231037310.62714-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Sep 2002, Nate Lawson wrote:
> There's a bit of a layering problem with the ftp/fetch semantics.  
> _fetch_close() is used to shutdown the connection (and handles reference
> counting but the connection caching is done at the ftp layer.  Either the
> connection cache should be moved to the fetch layer so open/close can deal
> with it properly (better) or the ftp layer needs to check for a ref count
> of 1 and invalidate the cache before closing it (worse).
> 
> A lot of people would really really appreciate it if someone would choose
> an approach and fix this.
> 
> -Nate

I committed the second approach in rev 1.83 of ftp.c.

-Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210251258390.73356-100000>