diff options
| author | inqrphl <32687873+inqrphl@users.noreply.github.com> | 2026-06-17 23:26:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-17 23:26:04 +0200 |
| commit | 605d59f957bc32e57adc0cd40f449ebe41c782ab (patch) | |
| tree | b201f0a06b5a73b777a25c6228dbc2b705860469 /plugins/check_tcp.d | |
| parent | d10e7324abcfd2b7d81c1c4fc19f2297a4f0caea (diff) | |
| download | monitoring-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 'plugins/check_tcp.d')
0 files changed, 0 insertions, 0 deletions
