diff options
Diffstat (limited to 'plugins/check_curl.d/check_curl_helpers.h')
| -rw-r--r-- | plugins/check_curl.d/check_curl_helpers.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_curl.d/check_curl_helpers.h b/plugins/check_curl.d/check_curl_helpers.h index 55df9bc1..2f9b0d1c 100644 --- a/plugins/check_curl.d/check_curl_helpers.h +++ b/plugins/check_curl.d/check_curl_helpers.h | |||
| @@ -127,9 +127,10 @@ mp_subcheck check_curl_certificate_checks(CURL *curl, X509 *cert, int warn_days_ | |||
| 127 | int crit_days_till_exp); | 127 | int crit_days_till_exp); |
| 128 | char *fmt_url(check_curl_working_state workingState); | 128 | char *fmt_url(check_curl_working_state workingState); |
| 129 | 129 | ||
| 130 | /* determine_hostname_resolver determines if the host or the proxy resolves the target hostname | 130 | /* hostname_gets_resolved_locally determines if the host or the proxy resolves the target hostname. |
| 131 | returns RESOLVE_LOCALLY if requester resolves the hostname locally, RESOLVE_REMOTELY if proxy | 131 | This depends on proxy schema, forced proxy and noproxy hostnames, wildcarded hostnames, IP addresses |
| 132 | resolves the hostname */ | 132 | and IP CIDRs. Returns true if the host resolves the hostname locally, and false if proxy resolves |
| 133 | the hostname */ | ||
| 133 | bool hostname_gets_resolved_locally(const check_curl_working_state working_state); | 134 | bool hostname_gets_resolved_locally(const check_curl_working_state working_state); |
| 134 | 135 | ||
| 135 | /* Checks if an IP is inside given CIDR region. Using /protocol_size or not specifying the prefix | 136 | /* Checks if an IP is inside given CIDR region. Using /protocol_size or not specifying the prefix |
