[Bug 235460] phttpget lacks retry and retry_timeout options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 3 22:19:44 UTC 2019


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

--- Comment #1 from Ricardo Fraile <rfraile at rfraile.eu> ---
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,

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


More information about the freebsd-bugs mailing list