testcurl/https: enable verbose libcurl on debug builds

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2022-10-10 11:54:29 +03:00
1 parent 860010b668
commit 8d00c4f778
8 files changed
+17 -9

No files matched your search

@@ -122,6 +122,9 @@ testExternalGet (unsigned int flags)
}
c = curl_easy_init ();
#ifdef _DEBUG
curl_easy_setopt (c, CURLOPT_VERBOSE, 1L);
#endif
curl_easy_setopt (c, CURLOPT_URL, "https://127.0.0.1/hello_world");
curl_easy_setopt (c, CURLOPT_PORT, (long) port);
curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);