view mod_cleanup_http.wiki @ 267:36f475bd6425

Edited wiki page mod_smacks through web user interface.
author MWild1@gmail.com
date Mon, 05 Mar 2012 16:58:11 +0000
parents dee8461071c2
children d9709ca32230
line wrap: on
line source

#summary http "spring cleans" module
#labels Stage-Beta

= Details =

Auto cleans handlers and open unused http ports (only on server_select) for BOSH/HTTP modules.

= Usage =

Copy both files into prosody's module directory and place 'em into your enabled modules into the configuration file's global section.

Required parameters, example:
{{{
cleanup_http_modules = { ["bosh_mod_name"] = bosh_mod_name_ports_conf_var_reference, ["bosh_mod_name_unreferenced"] = { { interface = { "127.0.0.1" }, port = 5280 } } }
}}}

You can either reference other variables present in the global configuration (see bosh_mod_name above, cleanup_http_modules needs to be placed after those in that case) or duplicate 'em (see bosh_mod_name_unreferenced).

= Compatibility =

 * 0.9/trunk works
 * 0.8 works