diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-09-24 07:02:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-09-24 07:02:56 +0000 |
commit | 1764ef81efce5f265f61107f0b1e91d73b858fb4 (patch) | |
tree | 4aae9f33dbc264a52108d60eec3a551740fe1b30 /server.c | |
parent | fecf8dc44ee88bd5aee02035d13b118fa514f253 (diff) | |
download | rtmux-1764ef81efce5f265f61107f0b1e91d73b858fb4.tar.gz rtmux-1764ef81efce5f265f61107f0b1e91d73b858fb4.tar.bz2 rtmux-1764ef81efce5f265f61107f0b1e91d73b858fb4.zip |
Don't allow locked or suspended clients to limit the size of active clients.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1194,8 +1194,10 @@ server_second_timers(void) t = time(NULL); xtimeout = options_get_number(&global_s_options, "lock-after-time"); - if (xtimeout > 0 && t > server_activity + xtimeout) + if (xtimeout > 0 && t > server_activity + xtimeout) { server_lock(); + recalculate_sizes(); + } for (i = 0; i < ARRAY_LENGTH(&windows); i++) { w = ARRAY_ITEM(&windows, i); |