mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-19 14:18:06 -05:00
Add connection logging
This commit is contained in:
parent
56e7a72e8a
commit
2a4b75842a
@ -557,6 +557,7 @@ static BIO *bio_get_http(long *http_code, char *url, BIO *bout, char *proxy,
|
|||||||
return NULL; /* FAILED */
|
return NULL; /* FAILED */
|
||||||
}
|
}
|
||||||
/* Start a libcurl easy session and set options for a curl easy handle */
|
/* Start a libcurl easy session and set options for a curl easy handle */
|
||||||
|
printf("Connecting to %s\n", url);
|
||||||
curl = curl_easy_init();
|
curl = curl_easy_init();
|
||||||
if (proxy) {
|
if (proxy) {
|
||||||
res = curl_easy_setopt(curl, CURLOPT_PROXY, proxy);
|
res = curl_easy_setopt(curl, CURLOPT_PROXY, proxy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user