mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Configure the status request timeout, i.e. the connect/data timeout on the HTTP request to get the status of Dogtag. This configuration is needed in "multiple IP address" scenarios where this server's hostname has multiple IP addresses but the HTTP server is only listening on one of them. Without a timeout, if a "wrong" IP address is tried first, it will take a long time to timeout, exceeding the overall timeout hence the request will not be re-tried. Setting a shorter timeout allows the request to be re-tried. Note that HSMs cause different behaviour so this value might not be suitable for when we implement HSM support. It is known that a value of 5s is too short in HSM environment. This fix requires pki-core >= 10.6.0, which is already required by the spec file. Fixes: https://pagure.io/freeipa/issue/7425 Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>