plugins/mod_bosh.lua
changeset 13217 50324f66ca2a
parent 13213 c8d949cf6b09
child 13297 ad1ed84fdf13
equal deleted inserted replaced
13216:3e6e98cc63e9 13217:50324f66ca2a
    43 -- (the client can set this to a lower value when it connects, if it chooses)
    43 -- (the client can set this to a lower value when it connects, if it chooses)
    44 local bosh_max_wait = module:get_option_period("bosh_max_wait", 120);
    44 local bosh_max_wait = module:get_option_period("bosh_max_wait", 120);
    45 
    45 
    46 local consider_bosh_secure = module:get_option_boolean("consider_bosh_secure");
    46 local consider_bosh_secure = module:get_option_boolean("consider_bosh_secure");
    47 local cross_domain = module:get_option("cross_domain_bosh");
    47 local cross_domain = module:get_option("cross_domain_bosh");
    48 local stanza_size_limit = module:get_option_number("c2s_stanza_size_limit", 1024*256);
    48 local stanza_size_limit = module:get_option_integer("c2s_stanza_size_limit", 1024*256, 10000);
    49 
    49 
    50 if cross_domain ~= nil then
    50 if cross_domain ~= nil then
    51 	module:log("info", "The 'cross_domain_bosh' option has been deprecated");
    51 	module:log("info", "The 'cross_domain_bosh' option has been deprecated");
    52 end
    52 end
    53 
    53