Mercurial > prosody-wiki
annotate mod_cleanup_http.wiki @ 373:c929df198f10
Mark pages of modules no longer in the repo as Deprecated
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Jun 2013 19:55:59 +0200 |
parents | d9709ca32230 |
children | f7f2befb0f3e |
rev | line source |
---|---|
262 | 1 #summary http "spring cleans" module |
373
c929df198f10
Mark pages of modules no longer in the repo as Deprecated
Kim Alvefur <zash@zash.se>
parents:
268
diff
changeset
|
2 #labels Stage-Beta Deprecated |
262 | 3 |
4 = Details = | |
5 | |
6 Auto cleans handlers and open unused http ports (only on server_select) for BOSH/HTTP modules. | |
7 | |
8 = Usage = | |
9 | |
10 Copy both files into prosody's module directory and place 'em into your enabled modules into the configuration file's global section. | |
11 | |
12 Required parameters, example: | |
13 {{{ | |
268 | 14 local bosh_mod_name_ports_conf_var_reference = { { interface = { "127.0.0.1" }, port = 5280 } } |
262 | 15 cleanup_http_modules = { ["bosh_mod_name"] = bosh_mod_name_ports_conf_var_reference, ["bosh_mod_name_unreferenced"] = { { interface = { "127.0.0.1" }, port = 5280 } } } |
16 }}} | |
17 | |
268 | 18 You can either reference other local variables present in the configuration (see above, cleanup_http_modules needs to be placed after those in that case) or duplicate 'em (see bosh_mod_name_unreferenced). |
262 | 19 |
20 = Compatibility = | |
21 | |
22 * 0.9/trunk works | |
23 * 0.8 works |