diff mercurial/httpclient/__init__.py @ 19489:42fcb2f7787d stable

httpclient: update to revision 9517a2b56fe9 of httpplus (issue3905) Includes upstream change "socketutil: force SSLv3 by default, as it is safer" which should fix issue 3905.
author Augie Fackler <raf@durin42.com>
date Wed, 24 Jul 2013 14:45:29 -0400
parents fae47ecaa952
children d4a0055af149
line wrap: on
line diff
--- a/mercurial/httpclient/__init__.py	Sat May 11 20:40:15 2013 -0500
+++ b/mercurial/httpclient/__init__.py	Wed Jul 24 14:45:29 2013 -0400
@@ -622,6 +622,8 @@
                         # TODO: find a way to block on ssl flushing its buffer
                         # similar to selecting on a raw socket.
                         continue
+                    if e[0] == errno.EWOULDBLOCK or e[0] == errno.EAGAIN:
+                        continue
                     elif (e[0] not in (errno.ECONNRESET, errno.EPIPE)
                           and not first):
                         raise