plugins/mod_bosh.lua
changeset 8492 fc8ef0943b60
parent 8188 e89320b8a789
child 8493 7540019afcd8
equal deleted inserted replaced
8491:95706e0f19fc 8492:fc8ef0943b60
    64 	end
    64 	end
    65 	return ip;
    65 	return ip;
    66 end
    66 end
    67 
    67 
    68 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat;
    68 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat;
    69 local os_time = os.time;
       
    70 
    69 
    71 -- All sessions, and sessions that have no requests open
    70 -- All sessions, and sessions that have no requests open
    72 local sessions = module:shared("sessions");
    71 local sessions = module:shared("sessions");
    73 
    72 
    74 -- Used to respond to idle sessions (those with waiting requests)
    73 -- Used to respond to idle sessions (those with waiting requests)