homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nadeem.vawda
Recipients ezio.melotti, giampaolo.rodola, janssen, nadeem.vawda, pitrou
Date 2013年03月03日.16:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362329904.01.0.79862090388.issue13898@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2013年03月03日 16:58:24nadeem.vawdasetrecipients: + nadeem.vawda, janssen, pitrou, giampaolo.rodola, ezio.melotti
2013年03月03日 16:58:24nadeem.vawdasetmessageid: <1362329904.01.0.79862090388.issue13898@psf.upfronthosting.co.za>
2013年03月03日 16:58:23nadeem.vawdalinkissue13898 messages
2013年03月03日 16:58:23nadeem.vawdacreate

AltStyle によって変換されたページ (->オリジナル) /