diff --git a/jtserv/jtserv.rb b/jtserv/jtserv.rb index 03333be..8930ee9 100755 --- a/jtserv/jtserv.rb +++ b/jtserv/jtserv.rb @@ -443,6 +443,7 @@ ws_conn.onopen do # First, clean up idling connections connections.each do |conn, info| + STDERR.printf("OPENat: %s\n", info.inspect) next if !info || !info["openat"] # For avoidance of exception.. if TIMEOUT < Time.now - (info["stamp"]||info["openat"]) STDERR.printf("Force Close client %s after long idle\n", conn)