From owner-freebsd-current Thu Jul 13 2: 0:37 2000 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 6AA5837B66D; Thu, 13 Jul 2000 02:00:33 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id LAA90183; Thu, 13 Jul 2000 11:00:32 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: Jun Kuriyama Cc: FreeBSD-current@FreeBSD.org Subject: Re: fetch http://cgi returns -1 size References: <7md7kjst3c.wl@waterblue.imgsrc.co.jp> <7m8zv6o8xn.wl@waterblue.imgsrc.co.jp> From: Dag-Erling Smorgrav Date: 13 Jul 2000 11:00:31 +0200 In-Reply-To: Jun Kuriyama's message of "Thu, 13 Jul 2000 15:12:20 +0900" Message-ID: Lines: 13 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jun Kuriyama writes: > By the way, current implementation of fetch(1) ignores "301 redirect" > silently. Is it expected behavior? Should it make warning message > without -v option? (or following redirection?) The bug is twofold: first, it doesn't handle relative redirects properly; second, because of a small logic bug it doesn't actually loop back to try again with the new URL... I'll commit a fix in a few minutes. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message