aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_https_get.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-10-05 12:58:53 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-10-10 11:54:29 +0300
commit8d00c4f7785900821627bb2e287552d6e6383469 (patch)
treeeaf998781eeafbd9ed732d5055ef93e86467c354 /src/testcurl/https/test_https_get.c
parent860010b6684fb31e5231078ea64021e16c617234 (diff)
downloadlibmicrohttpd-8d00c4f7785900821627bb2e287552d6e6383469.tar.gz
libmicrohttpd-8d00c4f7785900821627bb2e287552d6e6383469.zip
testcurl/https: enable verbose libcurl on debug builds
Diffstat (limited to 'src/testcurl/https/test_https_get.c')
-rw-r--r--src/testcurl/https/test_https_get.c3
1 files changed, 3 insertions, 0 deletions
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)
193 global_port = dinfo->port; 193 global_port = dinfo->port;
194 } 194 }
195 c = curl_easy_init (); 195 c = curl_easy_init ();
196#ifdef _DEBUG
197 curl_easy_setopt (c, CURLOPT_VERBOSE, 1L);
198#endif
196 curl_easy_setopt (c, CURLOPT_URL, "https://127.0.0.1/"); 199 curl_easy_setopt (c, CURLOPT_URL, "https://127.0.0.1/");
197 curl_easy_setopt (c, CURLOPT_PORT, (long) global_port); 200 curl_easy_setopt (c, CURLOPT_PORT, (long) global_port);
198 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 201 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);