Skip to content

Commit

Permalink
Merge pull request #3357 from danigm/openssl-3.2
Browse files Browse the repository at this point in the history
OpenSSL 3.2 compatibility
  • Loading branch information
bdarnell authored Mar 3, 2024
2 parents 65a9e48 + 60beec8 commit 464f608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/iostream.py
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ def _do_ssl_handshake(self) -> None:
return
elif err.args[0] in (ssl.SSL_ERROR_EOF, ssl.SSL_ERROR_ZERO_RETURN):
return self.close(exc_info=err)
elif err.args[0] == ssl.SSL_ERROR_SSL:
elif err.args[0] in (ssl.SSL_ERROR_SSL, ssl.SSL_ERROR_SYSCALL):
try:
peer = self.socket.getpeername()
except Exception:
Expand Down

0 comments on commit 464f608

Please sign in to comment.