STARTTLS-SNI patch

From 0ic0, 2 Months ago, written in Diff-output, viewed 47 times. This paste will cross the great divide in 1 Second.
URL https://paste.gajim.org/view/c2fbe847 Embed
Download Paste or View Raw
  1. --- a/connection.py     2019-09-06 14:25:58.430811448 +0300
  2. +++ b/connection.py     2019-09-06 14:25:00.418355411 +0300
  3. @@ -933,7 +933,7 @@
  4.          for record in result:
  5.              service = host[1:]
  6.              if service.startswith(SERVICE_START_TLS):
  7. -                record['alpn'] = False
  8. +                record['alpn'] = True
  9.                  self._append_srv_record(record, 'tls')
  10.                  self._append_srv_record(record, 'plain')
  11.              elif service.startswith(SERVICE_DIRECT_TLS):

Reply to "STARTTLS-SNI patch"

Here you can reply to the paste above