extras-buildsys/common AuthedXMLRPCServer.py,1.6.4.3,1.6.4.4
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Sun Feb 26 17:12:08 UTC 2006
Author: dcbw
Update of /cvs/fedora/extras-buildsys/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30972/common
Modified Files:
Tag: STABLE_0_4
AuthedXMLRPCServer.py
Log Message:
Trap and print socket & SSL errors
Index: AuthedXMLRPCServer.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/AuthedXMLRPCServer.py,v
retrieving revision 1.6.4.3
retrieving revision 1.6.4.4
diff -u -r1.6.4.3 -r1.6.4.4
--- AuthedXMLRPCServer.py 1 Dec 2005 03:20:32 -0000 1.6.4.3
+++ AuthedXMLRPCServer.py 26 Feb 2006 17:12:00 -0000 1.6.4.4
@@ -23,6 +23,7 @@
import SimpleXMLRPCServer
import SSLCommon
import threading
+import OpenSSL
@@ -62,6 +63,8 @@
SimpleXMLRPCServer.SimpleXMLRPCRequestHandler.do_POST(self)
except socket.timeout:
pass
+ except (socket.error, OpenSSL.SSL.SysCallError), e:
+ print "Error (%s): socket error - '%s'" % (self.client_address, e)
_del_authinfo()
More information about the fedora-extras-commits
mailing list