[JDEV] HHTP Proxy passthrough
prasanta lenka
pklenka at yahoo.com
Sat May 19 02:02:32 CDT 2001
Hi,
I found one document for HTTP proxy passthrough at
http://jabber.org/?oid=971 .I have one doubt.
first, one will create a socket and connect to
proxy.Then he will write on the socket the following
request
PUT http://jabber.org:5222/ HTTP/1.0
User-Agent: test
Host: jabber.org:5222
<stream:stream to="jabber.org"
xmlns="jabber:client"
xmlns:stream="http://etherx.jabber.org/
The Jabber server, after receiving this, will respond
appropriately with:
HTTP/1.0 200 Ok
Server: jabber/xmlstream-hack-0.1
Expires: Fri, 10 Oct 1997 10:10:10 GMT
Pragma: no-cache
Cache-control: private
Connection: close
<?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams'
id='3AC96385' xmlns='jabber:client' from='jabber.org'>
and the proxy will close the connection.MY doubt here
is that how the jabber server will recognise the
subsequent request from the same client as there is no
direct connected open socket to the server for this
client.How the server track the session of a client
behind proxy.
Can any one help me in this regard.If i'm asking
anything wrong, then pl let me know.Your suggestion
will be appriciated
Thanks and regards
Prasant
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
More information about the JDev
mailing list