Hi,
I need some help regarding establishing a connection using
ConnectionHTTPProxy class. under mentioned is the sample code i am using to
establish connection using proxy.
m_pGlooxClient->setConnectionImpl( new ConnectionHTTPProxy( m_pGlxClient,new
ConnectionTCPClient(m_pGlooxClient->logInstance(), m_strProxyHost,
m_nProxyPort),m_pGlooxClient->logInstance(), m_pServer, -1 ) );
m_pGlooxClient->connect();
The problem i am facing right now is that if i sniff the packet i get the
acknowledgment of connection established (200 Connection established). But
ConnectionState if i get from gloox is still StateConnecting.
Just for reference attaching the log details
[connecting to x.x.x (x.x.x.x:8080)]
[notice: no SRV record found for x.x.x.x, using default port.]
*[requesting http proxy connection to x.x.x.x:5222] *(This is the point
afterwards no exchange of packets is taking place)
an early reply in this regard is highly appreciated.
BR,
A H