[Standards-JIG] JEP-0065: proxy query response

Magnus Henoch mange at freemail.hu
Sat Jun 5 12:12:39 UTC 2004


Section 4.4 of JEP-0065 describes how proxies communicate their
network address.  Example 8 says:

        <iq 
            type='result' 
            from='proxy.host3' 
            to='initiator at host1/foo' 
            id='discover'>
          <query xmlns='http://jabber.org/protocol/bytestreams'>
            <streamhost 
                jid='proxy.host3' 
                host='24.24.24.1' 
                zeroconf='_jabber.bytestreams'/>
          </query>
        </iq>

It is not explicitly stated that the from attribute of the iq node and
the jid attribute of the streamhost node must be the same.  Is that
intentional?  I can imagine a proxy doing load balancing using this
feature.

Could this response contain several streamhost tags, just like some
clients advertise both internal and external IP address (as in example
11)?

Magnus




More information about the Standards mailing list