Thank you all, looks like it was just noise, the unused http code got me worry.

--

Short: DOH !!
Code :
/usr/libdata/perl5/OpenBSD/Paths.pm:sub ftp() { $ENV{'FETCH_CMD'} ||
'/usr/bin/ftp' }
Man :
FETCH_CMD    Override use of ftp(1).  Must point to a command that
                           understands ${FETCH_CMD} -o - url.


On Thu, Jun 14, 2018 at 5:52 PM Marc Espie <es...@nerim.net> wrote:
>
> On Thu, Jun 14, 2018 at 01:40:28PM -0400, sven falempin wrote:
> > Dear Tech Readers,
> >
> > In ftp command -w is available, very useful for crappy networks.
> > pkg_add does not have any of this.
> >
> > The HTTP layer is not configuring Timeout.
> > ( in /usr/libdata/perl5/OpenBSD/./PackageRepository/HTTP.pm )
> >         my $o = IO::Socket::INET->new(
> >                 PeerHost => $host,
> >                 PeerPort => $port);
> > ( plenty of option here like MultiHomed or Timeout, ReuseAddr, blocking )
>
> That stuff is unused, disregard completly.
>
> > Maybe a patch can add a '-w' to pkg_add and push it there :
>
> Nope, use FETCH_CMD if necessary, and push whatever -w you need there.
>
> Note that this is documente



-- 
--
---------------------------------------------------------------------------------------------------------------------
Knowing is not enough; we must apply. Willing is not enough; we must do

Reply via email to