summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_utils.t
diff options
context:
space:
mode:
authorinqrphl <32687873+inqrphl@users.noreply.github.com>2026-06-17 23:26:04 +0200
committerGitHub <noreply@github.com>2026-06-17 23:26:04 +0200
commit605d59f957bc32e57adc0cd40f449ebe41c782ab (patch)
treeb201f0a06b5a73b777a25c6228dbc2b705860469 /lib/tests/test_utils.t
parentd10e7324abcfd2b7d81c1c4fc19f2297a4f0caea (diff)
downloadmonitoring-plugins-605d59f957bc32e57adc0cd40f449ebe41c782ab.tar.gz
check_curl fix: populate the dns cache when hostname gets resolved locally (#2280)
* check_curl fix: populate the dns cache when hostname gets resolved locally due to a previous refactor, it would populate it when hostname wasnt getting resolved locally hostname_gets_resolved locally now assumes that resolving is local if proxy was unknown. previously was returning 0 instead of true, contradicting what it says fix a memory leak. server_address_clean was being assigned to another strndup result before being freed fix another memory leak, one path to return in hostname_gets_resolved_locally was not freeing up two variables improve logs and comments around hostname_gets_resolved_locally clang-format is applied * check_curl: fix typo in comment --------- Co-authored-by: Ahmet Oeztuerk <Ahmet.Oeztuerk@consol.de>
Diffstat (limited to 'lib/tests/test_utils.t')
0 files changed, 0 insertions, 0 deletions