mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-10 22:23:34 +02:00
Only need to chmod +x or -x the socket when a client is created, lost or
attached, rather than every event loop.
This commit is contained in:
@ -156,6 +156,7 @@ server_client_lost(struct client *c)
|
||||
c->flags |= CLIENT_DEAD;
|
||||
|
||||
recalculate_sizes();
|
||||
server_update_socket();
|
||||
}
|
||||
|
||||
/* Process a single client event. */
|
||||
|
Reference in New Issue
Block a user