Commit 147ab5fb authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Disable verbose information for Curl HTTP2

parent 88bdd957
......@@ -1079,7 +1079,9 @@ void amf_sbi::curl_http_client(
curl_easy_setopt(curl, CURLOPT_INTERFACE, amf_cfg.sbi.if_name.c_str());
if (http_version == 2) {
#if DEBUG_IS_ON
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
#endif
// we use a self-signed test server, skip verification during debugging
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
......@@ -1366,7 +1368,9 @@ void amf_sbi::curl_http_client(
curl_easy_setopt(curl, CURLOPT_INTERFACE, amf_cfg.sbi.if_name.c_str());
if (http_version == 2) {
#if DEBUG_IS_ON
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
#endif
// we use a self-signed test server, skip verification during debugging
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
......@@ -1509,7 +1513,9 @@ void amf_sbi::curl_http_client(
curl_easy_setopt(curl, CURLOPT_INTERFACE, amf_cfg.sbi.if_name.c_str());
if (http_version == 2) {
#if DEBUG_IS_ON
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
#endif
// we use a self-signed test server, skip verification during debugging
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment