On 2008/10/4, Marc Espie <[EMAIL PROTECTED]> wrote:

> pkg_info will only download the beginning of the package, since it only
> needs the packing information, and we're very careful to store it at
> the beginning.
>
> Now, a lot of FTP servers tend to not like abort in the middle of transfer,
> especially when coupled with idiot firewalls. http transfers should be
> slightly better.

I'm not sure but the partial transfer appears to work with single
(versioned) files. I think I'm using (I'm not at the machine atm)
PKG_PATH=ftp://ftp.eu.openbsd.org/pub/OpenBSD/.

Also I think it would be nice if the packages are dumped not into
the present directory but in the $PKG_CACHE that I have set.
This makes it convenient to export PKG_PATH=$PKG_CACHE:etc

> Strangely enough, pkg transfers over scp is the fastest, due to using
> a specialized protocol that avoids this set-up/tear-down altogether.
>
> So what you see is very much set-up/tear-down of connections, pkg_info
> actually uses very little bandwidth, but it has a high latency.

I'm not familiar with scp (never used it). Where's the list of scp mirrors?

Reply via email to