[JDEV] Is the 'to' field ignored during accept component stream negotiation?
Mike Prince
mike at mikeprince.com
Mon Dec 9 20:34:20 CST 2002
It appears (after looking at the 1.4.2 jabberd code) that the 'to'
attribute during initial stream negotiation with an accept component is
ignored.
I.e. I say... (note the missing 'to' field)
<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
xmlns='jabber:component:accept'>
And Jabber happily responds...
<?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' id='3DF5513C'
xmlns='jabber:component:accept' from='realtime'>
What's the correct usage of this field? Should it be the jabber
hostname? The same address we've addressed the socket to? Or is it an
artifact and can be conveniently ignored/not sent?
Thanks much,
Mike
More information about the JDev
mailing list