[JDEV] HHTP Proxy passthrough

Oliver Wing owing at vianetworks.co.uk
Sat May 19 04:40:00 CDT 2001


> 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/

You must put a connection keepalive in here, otherwise the server will
indeed close the connection, as you saw in your returned request.

>        Connection: close





More information about the JDev mailing list