Commit 7ae1d6eb authored by Antoine Millet's avatar Antoine Millet

Fixed bug with HUP event.

parent c3e988ad
......@@ -97,7 +97,7 @@ class SimpleRpcClient(ConnectionManager):
self.shutdown()
if event & select.EPOLLHUP:
logging.error('Socket HUP fd/%s: %s' % (fd, err))
logging.error('Socket HUP fd/%s' % fd)
self.shutdown() #TODO
def all_connections(self):
......
......@@ -100,7 +100,7 @@ class SimpleRpcServer(ConnectionManager):
self.shutdown_client(fd)
if event & select.EPOLLHUP:
logging.error('Socket HUP fd/%s: %s' % (fd, err))
logging.error('Socket HUP fd/%s' % fd)
self.shutdown_client(fd)
......
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