cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] How to use http proxy for HTTPS request

From: ba ni <barani_all_at_yahoo.co.in>
Date: Wed, 4 Jun 2008 14:32:26 +0530 (IST)

Hi all,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Through&nbsp; http proxy i am accessing the https site, for that i did the
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libcurl settings as belows , whether i have to use &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CURLOPT_HTTPPROXYTUNNEL or the below setting is ok , if any extra
setting is required please tell me

curl_global_init(CURL_GLOBAL_ALL);
curl_handle = curl_easy_init();
curl_easy_setopt(curl_handle,CURLOPT_PROXY,"10.1.6.44:8080");
curl_easy_setopt(curl_handle,CURLOPT_URL,"https://woodgrovebank.com/");
curl_easy_perform(curl_handle);

-Barani

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2008-06-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET