Include TLS version in debug output.

This commit is contained in:
Solderpunk 2019-08-13 21:21:20 +03:00
parent 242cf484f0
commit 1b7da02def
1 changed files with 1 additions and 0 deletions

View File

@ -366,6 +366,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
s = context.wrap_socket(s, server_hostname = gi.host)
try:
s.connect(address[4])
self._debug("Established {} connection.".format(s.version()))
break
except OSError as e:
err = e