extras-buildsys/common SSLConnection.py,1.3.4.5.4.3,1.3.4.5.4.4

Michael Schwendt mschwendt at fedoraproject.org
Fri Jun 12 17:30:36 UTC 2009


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/common
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7495/common

Modified Files:
      Tag: Plague-0_4_5
	SSLConnection.py 
Log Message:
	* common/SSLConnection.py
	  - Catch SSL.SysCallError exceptions for unexpected EOF.



Index: SSLConnection.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/SSLConnection.py,v
retrieving revision 1.3.4.5.4.3
retrieving revision 1.3.4.5.4.4
diff -u -r1.3.4.5.4.3 -r1.3.4.5.4.4
--- SSLConnection.py	12 Jun 2009 11:05:10 -0000	1.3.4.5.4.3
+++ SSLConnection.py	12 Jun 2009 17:30:05 -0000	1.3.4.5.4.4
@@ -143,6 +143,9 @@
                 return None
             except SSL.WantReadError:
                 time.sleep(0.2)
+            except SSL.SysCallError, (e, err):
+                time.sleep(0.2)
+                return None
         return None
 
 class PlgFileObject(socket._fileobject):




More information about the fedora-extras-commits mailing list