You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by ttg <ma...@gmail.com> on 2008/07/15 08:38:40 UTC
libcurl options
Hi,
Is there any way to specify additional connection options for libcurl?
For example I need the client to connect via SOCKS5 proxy with
authorization, increase connection timeouts and make it not complain
about self-signed SSL certificate.
The following are the libcurl options I need to set:
curl_easy_setopt(handler, CURLOPT_PROXY, proxy);
curl_easy_setopt(handler, CURLOPT_PROXYPORT, port);
curl_easy_setopt(handler, CURLOPT_PROXYTYPE, type);
curl_easy_setopt(handler, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
curl_easy_setopt(handler, CURLOPT_PROXYUSERPWD, userpwd);
curl_easy_setopt(handler, CURLOPT_TIMEOUT, timeout);
curl_easy_setopt(handler, CURLOPT_CONNECTTIMEOUT, 10);
curl_easy_setopt(handler, CURLOPT_SSL_VERIFYHOST, 0);
curl_easy_setopt(handler, CURLOPT_SSL_VERIFYPEER, 0);
How do I set these in axis2c? I don't see a way to access the CURL*
handler directly...
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: libcurl options
Posted by Dinesh Premalal <xy...@gmail.com>.
Hi,
>
>
> How do I set these in axis2c? I don't see a way to access the CURL*
> handler directly...
Yes, You are correct we still don't have a way to specify CURL * handler
options directly. Please raise a jira issue for this.
thanks,
Dinesh
--
http://nethu.org/