[ https://issues.apache.org/jira/browse/AXIS2C-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Blough reassigned AXIS2C-1235:
-----------------------------------
Assignee: (was: Bill Blough)
> Need a way to specify libcurl options
> -------------------------------------
>
> Key: AXIS2C-1235
> URL: https://issues.apache.org/jira/browse/AXIS2C-1235
> Project: Axis2-C
> Issue Type: New Feature
> Components: transport/http
> Affects Versions: Current (Nightly)
> Reporter: ttg
> Priority: Major
> Fix For: 1.7.0
>
> Attachments: axis2c-1235.txt
>
>
> I need some way to specify additional options for libcurl, but at the moment there is
no way to access the CURL* handler.
> For example I want the client to connect via SOCKS5 proxy with authorization, increase
connection timeouts and make it not complain about self-signed SSL certificates. Here is the
list of libcurl options I would use:
> 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);
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org
|