Commit 1bd0a4e0 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Trying to find buffering deadlock

parent c58c5b5b
......@@ -63,6 +63,7 @@ class Server:
config_HASH_socket,_ = server.accept()
self.log.DEBUG('config+HASH', config_HASH_socket)
c = config_HASH_socket.makefile('r').read()
config_HASH_socket.shutdown(socket.SHUT_RD)
if config.parse(c).asList() != self.config.asList():
raise Exception('Configuration differs')
with self.mutex:
......@@ -78,8 +79,8 @@ class Server:
target=self.run_tar,
args=(tar_socket,))
self.thread_tar.start()
cond_unlink(self.socket_path, self.log)
pass
pass
def pending(self):
with self.mutex:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment