From owner-freebsd-current Fri Oct 27 0:59: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 EDADD37B479 for ; Fri, 27 Oct 2000 00:59:34 -0700 (PDT) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id JAA65522; Fri, 27 Oct 2000 09:58:43 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Jeroen Ruigrok van der Werven Cc: Andrea Campi , "'current@freebsd.org'" Subject: Re: Problem in fetch References: <20001026220917.C47404@lucifer.bart.nl> From: Dag-Erling Smorgrav Date: 27 Oct 2000 09:58:41 +0200 In-Reply-To: Jeroen Ruigrok van der Werven's message of "Thu, 26 Oct 2000 22:09:17 +0200" Message-ID: Lines: 34 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 Jeroen Ruigrok van der Werven writes: > [Making sure Dag-Erling gets the mail] > -On [20001026 18:45], Andrea Campi (Andrea.Campi@it.worldonline.com) wrote: > > When trying to install ports, very often I find everything freezes just > > after fetch completes. If I hit ^C and type "make install" again, the > > tarball is there, that's why I say that fetch is already done. > > If I hit ^T, I see fetch sitting in sbwait, the time not increasing. > Just a note, I got the same thing under 4-STABLE with the latest > sources. Weird. I develop libfetch on -STABLE these days, and have no such problems. Does this only happen with FTP documnts, BTW? I recently changed the FTP code so it waits for the status code to arrive on the control socket when the transfer is complete (so that connection caching will work). That may be the problem; try setting FETCH_CMD to 'fetch -T60' and see if it times out after sixty seconds. > I'll get a debug/verbose dump for you tomorrow DES. Thanks! Everybody else, if you don't know how to do this: # cd /usr/src/lib/libfetch && make clean && make obj && \ make depend -DDEBUG && make -DDEBUG && make install then run fetch with -vv, and you'll get a full transcript of the session (note that this can be quite a lot when fetching a chunk-encoded HTTP document) DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message