[jdev] rfc3920 document: use of TLS
Jacek Konieczny
jajcus at bnet.pl
Mon Jul 25 04:00:07 CDT 2005
On Fri, Jul 22, 2005 at 09:58:11AM -0600, Peter Saint-Andre wrote:
> Hmm, that could be better specified, eh? We'll have to fix that in
> rfc3920bis.
>
> I can see two reasons for returning a <failure/>:
[...]
> 2. The STARTTLS command is malformed (i.e., something other than
> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> because the
> namespace is wrong,
If the namespace is wrong, then that is not a StartTLS request and
server should not treat it this way. It should not even be treated as
a malformed StartTLS request, as if the namespace is not know, then
there is no way to say what the element means (element name doesn't
matter).
Greets,
Jacek
More information about the JDev
mailing list