diff mod_cleanup_http/README.wiki @ 1782:29f3d6b7ad16

Import wiki pages
author Kim Alvefur <zash@zash.se>
date Mon, 24 Aug 2015 16:43:56 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_cleanup_http/README.wiki	Mon Aug 24 16:43:56 2015 +0200
@@ -0,0 +1,23 @@
+#summary http "spring cleans" module
+#labels Stage-Beta, Deprecated
+
+= 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:
+{{{
+local bosh_mod_name_ports_conf_var_reference = { { interface = { "127.0.0.1" }, port = 5280 } }
+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 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).
+
+= Compatibility =
+
+ * 0.9/trunk works
+ * 0.8 works