purple_ssl_connect to prevent nslookup

karthik kumar kumarkarthikn at gmail.com
Wed Aug 15 15:17:34 EDT 2012


Hi,
    purple_ssl_connect is resolving the hostname to public ip and then
tryting to connect. I have one strange url where I have to connect only
using the hostname but not ip.

 To explain:
   wget   'https://hostname/a/b/c/d?e=f'  =>  PASS Result.
   nslookup  hostname   gives me   pub_ip
   wget  'https://pub_ip/a/b/c/d?e=f'       =>   FAIL Result.

The same with pidgin api's
    purple_ssl_connect( conn, hostname .....)  and purple_ssl_write(
 /a/b/c/d?e=f  ...)     => FAIL Result.

Is there a way I can connect with the hostname itself ? I tried to search
but couldn't get anything useful. Can I get some help on this ?


Thanks
Karthik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20120816/b11bdabe/attachment-0002.html>


More information about the Devel mailing list