We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3c263d + 9784630 commit 712d610Copy full SHA for 712d610
tornado/iostream.py
@@ -1415,7 +1415,9 @@ def _do_ssl_handshake(self) -> None:
1415
raise
1416
except ssl.CertificateError as err:
1417
# CertificateError can happen during handshake (hostname
1418
- # verification) and should be passed to user
+ # verification) and should be passed to user. Starting
1419
+ # in Python 3.7, this error is a subclass of SSLError
1420
+ # and will be handled by the previous block instead.
1421
return self.close(exc_info=err)
1422
except socket.error as err:
1423
# Some port scans (e.g. nmap in -sT mode) have been known
0 commit comments