Summary: | phttpget: Lacks retry and retry_timeout options | ||
---|---|---|---|
Product: | Base System | Reporter: | Ricardo Fraile <r> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Only Me | CC: | cperciva, grahamperrin, lwhsu |
Priority: | --- | Keywords: | feature |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://github.com/freebsd/freebsd-src/tree/main/libexec/phttpget | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235538 |
Description
Ricardo Fraile
2019-02-03 13:02:11 UTC
Sorry, my previous comment has a typo: The HTTP_TIMEOUT only applies **after** the tcp connection to the remote server. So, if for example the dns fails, the network link have connectivity problems or something related, that request fails quickly with a "phttpget: Could not connect to x.x.x.x" without waiting for the timeout. It would be nice to have the waiting time applied at the connection level and, by the way, a retry to it. That can solve some issues with freebsd-update and make it more resilience. Thanks, |