mod_cache_c2s_caps/mod_cache_c2s_caps.lua
changeset 2905 0fb44258d2cf
parent 2903 0273d7583373
child 3084 b003d72d9ce6
equal deleted inserted replaced
2904:0286ccacec7c 2905:0fb44258d2cf
     1 local st_iq = require "util.stanza".iq;
     1 local st_iq = require "util.stanza".iq;
     2 local jid_split = require "util.jid".split;
       
     3 local uuid_gen = require "util.uuid".generate;
     2 local uuid_gen = require "util.uuid".generate;
     4 local calculate_hash = require "util.caps".calculate_hash;
     3 local calculate_hash = require "util.caps".calculate_hash;
     5 
     4 
     6 -- Map of jid..node, to avoid querying the same client multiple times for the same value.
     5 -- Map of jid..node, to avoid querying the same client multiple times for the same value.
     7 local in_flight_iqs = {}
     6 local in_flight_iqs = {}