Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 23:23:23 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Bill Fenner <fenner@research.att.com>, freebsd-current@freebsd.org
Subject:   Re: libfetch(3) patch for SSL
Message-ID:  <Pine.BSF.4.21.0210292317400.89254-100000@root.org>
In-Reply-To: <xzpadkw4gpx.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Oct 2002, Dag-Erling Smorgrav wrote:
> Dag-Erling Smorgrav <des@ofug.org> writes:
> > I'd rather fix it like this:
> 
> Oomph, of course this doesn't work in the !ssl case.  I would really
> prefer a solution that allowed wlen == 0 if we actually *intended* not
> to write anything, but I can't figure out a clean, quick way to do it
> right now.  I guess your patch will have to do for now.

May I humbly propose that the API is broken and should be reworked?  My
frustration with cached_connection common/ftp sharing and this thrashing
trying to overload the return value are signs that the API needs
rethinking.

-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.0210292317400.89254-100000>