[JDEV] Hi ...Request for MSN-TRansport updation
Yogindar Das Y
yogindar at india.hp.com
Fri Oct 3 05:21:32 CDT 2003
I think you can add a small support for msn-transport.
curl_easy_setopt(curl, CURLOPT_PROXY, "proxy-host.com:8080");
curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, "user:password");
in the function mt_ssl_auth() of ns.c so that it will communicate with the passport authentication server through the proxy environment specified.
The hardcoded value of the proxy server and port ,username and password for authentication in the code can be made flexible by reading it from the configuration file msnt.xml as follows
the set="on" or "off" option for proxy tag can be used as an option to work through a proxy server or not
the set="on" or "off" option for auth tag can be used as an option to work through a proxy server with authentication turned on or off.
Iam not sure how much value it is adding to msn-transport but still I have added the curl api's and found the msn-transport started working through a proxy server.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the JDev