[Pidgin] #17270: [PATCH] BOSH doesn't work, it should ignore STARTTLS

Pidgin trac at pidgin.im
Thu Dec 7 21:03:42 EST 2017


#17270: [PATCH] BOSH doesn't work, it should ignore STARTTLS
------------------------+------------------------
 Reporter:  niconiconi  |       Owner:  deryni
     Type:  defect      |      Status:  closed
Milestone:  2.12.1      |   Component:  libpurple
  Version:  2.12.0      |  Resolution:  fixed
 Keywords:  BOSH PATCH  |
------------------------+------------------------
Changes (by Tom Li <tomli@…>):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:   => 2.12.1


Comment:

 (In [fdb68b9b02b8]):[[BR]]
 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

--
Ticket URL: <https://developer.pidgin.im/ticket/17270#comment:6>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list