Date: Mon, 17 Jul 2000 15:31:17 -0700 (PDT) From: Kris Kennaway <kris@FreeBSD.org> To: Dag-Erling Smorgrav <des@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch http.c Message-ID: <Pine.BSF.4.21.0007171530360.70438-100000@freefall.freebsd.org> In-Reply-To: <200007172109.OAA59539@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Jul 2000, Dag-Erling Smorgrav wrote:
> des 2000/07/17 14:09:12 PDT
>
> Modified files:
> lib/libfetch http.c
> Log:
> Don't forget to set file descriptor to -1 after closing it, since the code
> outside the loop inspects it to determine whether or not we succeeded in
> retrieving the requested document. This fixes a bug where fetchGetHTTP()
> would return a FILE with an invalid file descriptor if it hit the redirect
> limit without locating the requested document.
Given the number of bugfixes going into fetch and libfetch, I have to
wonder whether the MFC was premature - don't forget the code freeze is in
3 days.
Kris
--
In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe <forsythe@alum.mit.edu>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" 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.0007171530360.70438-100000>
