extras-buildsys/client client.py,1.33,1.34

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Fri Nov 25 04:45:03 UTC 2005


Author: dcbw

Update of /cvs/fedora/extras-buildsys/client
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31433/client

Modified Files:
	client.py 
Log Message:
2005-11-24  Dan Williams  <dcbw at redhat.com>

    * client/client.py
      server/Builder.py
      www/template/main.psp
        - Use timeouts for XMLRPC clients

2005-11-24  Dan Williams  <dcbw at redhat.com>

    * common/AuthedXMLRPMServer.py
      common/SSLCommon.py
      common/SSLConnection.py
      common/XMLRPCServerProxy.py
        - Implement socket timeouts for XMLRPC client & server




Index: client.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/client/client.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- client.py	19 Oct 2005 13:56:22 -0000	1.33
+++ client.py	25 Nov 2005 04:45:01 -0000	1.34
@@ -114,7 +114,7 @@
                 certs['key_and_cert'] = os.path.expanduser(self._cfg.get_str('Certs', 'user-cert'))
                 certs['ca_cert'] = os.path.expanduser(self._cfg.get_str('Certs', 'user-ca-cert'))
                 certs['peer_ca_cert'] = os.path.expanduser(self._cfg.get_str('Certs', 'server-ca-cert'))
-                server = XMLRPCServerProxy.PlgXMLRPCServerProxy(addr, certs)
+                server = XMLRPCServerProxy.PlgXMLRPCServerProxy(addr, certs, timeout=20)
         else:
             if addr.startswith("https:"):
                 raise ServerException("Error: '%s' is an SSL server, but the use_ssl " \




More information about the fedora-extras-commits mailing list