annotate mod_cleanup_http.wiki @ 262:dee8461071c2

added wiki.
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 12 Feb 2012 18:35:57 +0000
parents
children d9709ca32230
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
262
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
1 #summary http "spring cleans" module
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
2 #labels Stage-Beta
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
3
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
4 = Details =
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
5
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
6 Auto cleans handlers and open unused http ports (only on server_select) for BOSH/HTTP modules.
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
7
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
8 = Usage =
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
9
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
10 Copy both files into prosody's module directory and place 'em into your enabled modules into the configuration file's global section.
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
11
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
12 Required parameters, example:
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
13 {{{
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
14 cleanup_http_modules = { ["bosh_mod_name"] = bosh_mod_name_ports_conf_var_reference, ["bosh_mod_name_unreferenced"] = { { interface = { "127.0.0.1" }, port = 5280 } } }
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
15 }}}
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
16
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
17 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).
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
18
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
19 = Compatibility =
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
20
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
21 * 0.9/trunk works
dee8461071c2 added wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff changeset
22 * 0.8 works