Subject: | Vhost using stream "to" attribute |
Date: | Tue, 10 Mar 2009 09:24:49 -0400 |
To: | bug-DJabberd [...] rt.cpan.org |
From: | Adam Tistler <atistler [...] gmail.com> |
Hello,
I am not sure if this is a djabberd bug or an adium/proteus bug. I am
tending to think that
this is a adium/proteus bug in which case I apologize for bothering
you. Regardless of what
I set Host Name to be when setting up my jabber client, the to=
attribute will be jabber.org.
This does not seem correct to me as it should be host name of the
jabber server that
I am connecting to. Djabberd interprets the to= attribute as the
vhost, and therefore cannot find
the vhost.
SEND: <stream:stream
SEND: to='jabber.org'
SEND: xmlns='jabber:client'
SEND: xmlns:stream='http://etherx.jabber.org/streams'>
The attributes of the stream element are as follows:
o to -- The 'to' attribute SHOULD be used only in the XML stream
header from the initiating entity to the receiving entity, and
MUST be set to a hostname serviced by the receiving entity.
There
SHOULD NOT be a 'to' attribute set in the XML stream header by
which the receiving entity replies to the initiating entity;
however, if a 'to' attribute is included, it SHOULD be silently
ignored by the initiating entity.