input/curl: dump version number
This commit is contained in:
parent
fc7d5b055d
commit
2eddb63a83
@ -586,6 +586,14 @@ input_curl_init(const config_param ¶m, Error &error)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto version_info = curl_version_info(CURLVERSION_FIRST);
|
||||||
|
if (version_info != nullptr) {
|
||||||
|
FormatDebug(curl_domain, "version %s", version_info->version);
|
||||||
|
if (version_info->features & CURL_VERSION_SSL)
|
||||||
|
FormatDebug(curl_domain, "with %s",
|
||||||
|
version_info->ssl_version);
|
||||||
|
}
|
||||||
|
|
||||||
http_200_aliases = curl_slist_append(http_200_aliases, "ICY 200 OK");
|
http_200_aliases = curl_slist_append(http_200_aliases, "ICY 200 OK");
|
||||||
|
|
||||||
proxy = param.GetBlockValue("proxy");
|
proxy = param.GetBlockValue("proxy");
|
||||||
|
Loading…
Reference in New Issue
Block a user