changeset 262:dee8461071c2

added wiki.
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 12 Feb 2012 18:35:57 +0000
parents 7e8838371b31
children 57c0c2b51049
files mod_cleanup_http.wiki
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_cleanup_http.wiki	Sun Feb 12 18:35:57 2012 +0000
@@ -0,0 +1,22 @@
+#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