Currently session_manager.SessionManager.peername has a bug because for IPv6 sockets the address returned is a tuple of 4 values, not two. For UNIX sockets it is just a string. This patch fixes all these issues. It also prints exactly what addresses the server is listening on at startup, rather than just the first one.
Currently session_manager.SessionManager.peername has a bug because for IPv6 sockets the address returned is a tuple of 4 values, not two. For UNIX sockets it is just a string. This patch fixes all these issues. It also prints exactly what addresses the server is listening on at startup, rather than just the first one.