[jdev] Proxy in Jabber (PHP)
Tomasz Sterna
tomasz.sterna at gmail.com
Fri Jan 27 08:24:06 CST 2006
2006/1/24, Dhoren Hernsor <dhernsor at yahoo.com>:
>
> I have the php codes running already. However, someone
> asked me what if their connection have a proxy. Which
> part of the connection code should I edit?
>
You need HTTP-CONNECT method supporting proxy.
1. you connect to proxy:proxyport
2. send: CONNECT jabberserver:port
3. proceed like you had a direct connection to jabberserver:port
If the proxy requires authentication, you need to insert standard HTTP-AUTH
beetween 1 and 2... Please refer the HTTP RFC for that.
--
smk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20060127/5f44bf0e/attachment-0002.htm>
More information about the JDev
mailing list