Entropy/Repository Client Interface:

- set default timeout


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1987 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-05-27 11:45:52 +00:00
parent 36e3daa299
commit 9ab4384bdf
+2
View File
@@ -12126,6 +12126,7 @@ class SocketHostInterface:
if not data:
break
mylen = -1
cmd = self.server.processor.process(data, self.request, self.client_address)
if cmd == 'close':
break
@@ -15848,6 +15849,7 @@ class RepositorySocketClientInterface:
self.hostport = None
self.quiet = quiet
self.CmdInterface = ClientCommandsClass(self.Entropy, self)
self.socket.setdefaulttimeout(60)
def stream_to_object(self, data, gzipped):