Hi,
I tried to write a little library to connect to a jabber server, so I
started implementing rfc3920. After sending the initial
C: <?xml version='1.0'?>
<stream:stream
to='example.com'
xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'
version='1.0'>
the server responds with something like this:
S: <?xml version='1.0'?>
<stream:stream
from='example.com'
id='someid'
xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'
version='1.0'>
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<auth xmlns='http://jabber.org/features/iq-auth'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>NTLM</mechanism>
<mechanism>DIGEST-MD5</mechanism>
<mechanism>CRAM-MD5</mechanism>
</mechanisms>
</stream:features>
Ok so far, but now it sends a
</stream:stream>
That is not ok, is it? Refering to rfc3920 it should not send a
</stream:stream> I think. Even if I send the
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
now—as described in rfc3920—the server does not respond. What is wrong
here?
Bye,
Tim
smime.p7s
Description: S/MIME cryptographic signature
