Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit curl execution time to 2s to find WAN IP
Option "--connect-timeout" used to determine external IP covers only connection phase. Curl may "hans" in a different phase and this makes login to the system impossible if MOTD "header" module enabled. Using "--max-time" is more reliable and prevents hanging for hours. Fixes issue #7753 Signed-off-by: Uladzimir Bely <wiselord1983@gmail.com>
- Loading branch information