Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2019 13:02:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235460] phttpget lacks retry and retry_timeout options
Message-ID:  <bug-235460-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235460

            Bug ID: 235460
           Summary: phttpget lacks retry and retry_timeout options
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rfraile@rfraile.eu

phttpget can be tuned with the following enviromental variables:

HTTP_PROXY
HTTP_PROXY_AUTH
HTTP_USER_AGENT
HTTP_TIMEOUT

It would be nice to have two more:

CONN_RETRY
CONN_TIMEOUT

The HTTP_TIMEOUT is only applied before the connection, so, if for example =
the
dns fails, that request fails with a "phttpget: Could not connect to x.x.x.=
x".

It would be nice to have the timeout applied at the connection level, and, =
by
the way, a retry to it. That can be solve some issues with freebsd-update.


Thanks,

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235460-227>