Subject: Re: CVS commit: src/usr.sbin/pkg_install/lib
To: Hubert Feyrer <hubert@feyrer.de>
From: Pavel Cahyna <pavel@netbsd.org>
List: source-changes
Date: 04/11/2006 13:00:36
On Tue, Apr 11, 2006 at 12:56:06PM +0200, Hubert Feyrer wrote:
> On Tue, 11 Apr 2006, Pavel Cahyna wrote:
> >>Bump ftp timeout from 10 minutes to 1 hour.
> >>When installing teTeX over a dog slow VPN, this can be necessary.
> >
> >Does this mean that after one hour, the download will be interrupted, even
> >if the ftp process is busy downloading?
> 
> Yes, given the nature of interaction between ftp(1) and pkg_add(1).
> A better solution would be to adjust the timeout by the package size...

"solution"? OMG...

I would not believe that pkg_add does something so lame, if I did not
experience it personally when pkg_add-ing mozilla.

Why to have any timeout? ftp(1) itself does not have a timeout mechanism?

Pavel