Message183388
This change fixes the problem (and doesn't break anything else that I can see):
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -979,7 +979,7 @@
self.sslconn = self.server.context.wrap_socket(
self.sock, server_side=True)
self.server.selected_protocols.append(self.sslconn.selected_npn_protocol())
- except ssl.SSLError as e:
+ except (ssl.SSLError, ConnectionResetError) as e:
# XXX Various errors can have happened here, for example
# a mismatching protocol version, an invalid certificate,
# or a low-level bug. This should be made more discriminating.
Does that look reasonable? |
|
Date |
User |
Action |
Args |
2013-03-03 16:58:24 | nadeem.vawda | set | recipients:
+ nadeem.vawda, janssen, pitrou, giampaolo.rodola, ezio.melotti |
2013-03-03 16:58:24 | nadeem.vawda | set | messageid: <1362329904.01.0.79862090388.issue13898@psf.upfronthosting.co.za> |
2013-03-03 16:58:23 | nadeem.vawda | link | issue13898 messages |
2013-03-03 16:58:23 | nadeem.vawda | create | |
|