Hi, Did you have any response to this? Here is what I have learned.
You cannot maintain a connection through an HTTP proxy server, except by one method. A standard request through HTTP proxy must be an HTTP request, so you cannot continue to stream XML through it, because the proxy server will drop your connection when it realizes. The one workaround is to use SSL and tell the proxy server to forward your connection by using an HTTP request of the form CONNECT <jabber server name or ip>:<jabber ssl port> HTTP/1.0\r\n\r\n In this way, you are tunnelling SSL through the proxy server, and it doesn't know that you are using XML and not HTTP. This is called CONNECT tunneling, and is described in section 5.2 of RFC 2817 ftp://ftp.isi.edu/in-notes/rfc2817.txt Most proxy servers have an inactive timeout of 5 minutes or less, so make sure to set up a pinger or something. Some HTTP proxies also restrict outbound SSL to port 443, for which you could have your jabber server listen for SSL on 443. The other solution to the HTTP proxy is to write a protocol to access the Jabber server over HTTP. Some people were working on this, I'm not sure what's going on now. You might find more information on jabber.org. Good luck! jason nitin wrote: > hi all, > I am trying to connect to Jabber Server through HTTP proxy. > Jabber Server and MSN Transports are installed in the server and it is > working with socks proxy. But the Connection through Http proxy is not > giving the expected results. By using the POST method of HTTP protocol, > i am able to send the login details and get the Roster list, after > successful login. Now the poblem is, only one request can be send from > my socket through http proxy. So for login I am appending all the four > XML and sending it in one request. After that whatever request send to > proxy is not going to the Jabber Server. If anybody knows, how to > connect to Jabber through HTTP proxy, please let me know, > > thanks in advance > > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
