[Bug 235460] phttpget lacks retry and retry_timeout options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 3 13:02:14 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235460

            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 at FreeBSD.org
          Reporter: rfraile at 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,

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


More information about the freebsd-bugs mailing list