Testing fixes for security improvement, thread safety, and memory management.
This commit is contained in:
@ -33,7 +33,7 @@ class driver(remoteDriver):
|
||||
os.unlink(socketFile)
|
||||
self.fenrirSock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
self.fenrirSock.bind(socketFile)
|
||||
os.chmod(socketFile, 0o666)
|
||||
os.chmod(socketFile, 0o666) # Allow all users to read/write
|
||||
self.fenrirSock.listen(1)
|
||||
while active.value:
|
||||
# Check if the client is still connected and if data is available:
|
||||
|
Reference in New Issue
Block a user