mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-09 23:43:54 +03:00
testcurl/https: enable verbose libcurl on debug builds
This commit is contained in:
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, ©Buffer);
|
||||
|
||||
Reference in new issue
Block a user