finch/libgnt/genmarshal

Sat, 25 Nov 2017 21:42:28 +0800

author
Tom Li <tomli@tomli.me>
date
Sat, 25 Nov 2017 21:42:28 +0800
branch
release-2.x.y
changeset 38792
fdb68b9b02b8
parent 16165
24ec117bc52c
child 18068
b6554e3c8224
permissions
-rw-r--r--

jabber.c: fix #17270, ignore STARTTLS when using BOSH.

Pidgin wants to establish a TLS connection with a STARTTLS request, but
it doesn't make any sense, since the XMPP stream is proxied by the BOSH
connection, which is already encrypted by HTTPS. It is impossible to
STARTTLS with BOSH.

According to XEP-0206: The client SHOULD ignore any Transport Layer Security
(TLS) feature since BOSH channel encryption SHOULD be negotiated at the HTTP
layer.

Failing to do it causes Pidgin fails to create any connection with BOSH to any
XMPP server with STARTTLS enabled.

https://developer.pidgin.im/ticket/17270

BOOLEAN:VOID
BOOLEAN:STRING
VOID:INT,INT,INT,INT
VOID:INT,INT
VOID:POINTER,POINTER
BOOLEAN:INT,INT
BOOLEAN:INT,INT,INT
BOOLEAN:POINTER,POINTER,POINTER
BOOLEAN:INT,INT,INT,POINTER
VOID:STRING,STRING
VOID:POINTER,BOOLEAN

mercurial