From owner-freebsd-current@FreeBSD.ORG Thu Jul 1 17:39:27 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1059F1065673 for ; Thu, 1 Jul 2010 17:39:27 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id C1ED18FC08 for ; Thu, 1 Jul 2010 17:39:26 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 0E5A61FFC35; Thu, 1 Jul 2010 17:39:26 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 7366184571; Thu, 1 Jul 2010 19:37:14 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Tom Evans References: <20100621101046.GA76036@droso.net> <20100621130743.4df77343@ernst.jennejohn.org> <86pqz8mkcg.fsf@ds4.des.no> Date: Thu, 01 Jul 2010 19:37:14 +0200 In-Reply-To: (Tom Evans's message of "Thu, 1 Jul 2010 14:47:10 +0100") Message-ID: <86vd8zkss5.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current Subject: Re: Ports doesnt respect fetch environment settings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 17:39:27 -0000 Tom Evans writes: > I think this does show that the patch could be made a little better. > We only want to go through the loop one more time if we have > credentials to send, and we have credentials to send if the rv of > http_parse_authenticate is good. > > I also think the same bug would affect fetching from servers requiring > authentication, so I've made the same fix there as well. OK, I'll trust your analysis and commit this do head, then ask portmgr to do an exp run with the patch. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no