From 8d00c4f7785900821627bb2e287552d6e6383469 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Wed, 5 Oct 2022 12:58:53 +0300 Subject: testcurl/https: enable verbose libcurl on debug builds --- src/testcurl/https/test_https_get.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/testcurl/https/test_https_get.c') diff --git a/src/testcurl/https/test_https_get.c b/src/testcurl/https/test_https_get.c index 7eebfd4c..a0cdb82f 100644 --- a/src/testcurl/https/test_https_get.c +++ b/src/testcurl/https/test_https_get.c @@ -193,6 +193,9 @@ testEmptyGet (unsigned int poll_flag) global_port = dinfo->port; } 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/"); curl_easy_setopt (c, CURLOPT_PORT, (long) global_port); curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); -- cgit v1.2.3