[Standards-JIG] Jingle + HTTP proxy support
andrunko at gmail.com
Thu Dec 22 20:04:40 UTC 2005
I am not sure if this is the correct list for this, but anyway, lets try it.
I am working on to integrate libjingle with a VoIP framework
(http://tapioca-voip.sf.net) and i am having some problems regarding
http proxy functionality.
First of all, I am developing behind a firewall and the only way to
connect to google talk is trough a HTTP proxy. This proxy only
supports CONNECT method
on port 443. I tested with Google Talk client on Windows and it works
well, but i
couldn't find a way to connect using libjingle.
Here is what i did.
+ xcs.set_proxy_host("my_proxy_addr"); // tried with name and ip addr
+ xcs.set_server(cricket::SocketAddress("talk.google.com", 443)); //
cricket::AsyncSocket* socket =
+ socket = new cricket::AsyncHttpsProxySocket(socket,
+ cricket::SocketAddress("my_proxy_addr", 8080),
+ "", buzz::XmppPassword(buzz::EmptyXmppPasswordImpl()));
Now it seems that the client sucessfully CONNECT to
talk.google.com on port 443 but on the first command sent the
connection is closed.
CONNECT talk.google.com:443 HTTP/1.0
User-Agent: Google Talk
HTTP/1.0 200 Connection established
Proxy-Agent: NetCache NetApp/5.6.2R1
<stream:stream to="gmail.com" version="1.0"
Connection closed by foreign host
I captured some packets using ethereal on Windows and Google Talk
client and it seems that the same msgs are sent to the
proxy server. I should be missing something.
It seems libjingle SSL support is not finished yet.
Can this be related to my problem?
More information about the Standards