plugins/mod_admin_telnet.lua
changeset 10793 e7eb33a5f8d9
parent 10792 3fc4863227a9
child 10794 ee2f8ee319ea
--- a/plugins/mod_admin_telnet.lua	Wed Apr 29 22:48:36 2020 +0200
+++ b/plugins/mod_admin_telnet.lua	Wed Apr 29 22:56:35 2020 +0200
@@ -244,6 +244,7 @@
 		print [[]]
 		print [[c2s - Commands to manage local client-to-server sessions]]
 		print [[s2s - Commands to manage sessions between this server and others]]
+		print [[http - Commands to inspect HTTP services]] -- XXX plural but there is only one so far
 		print [[module - Commands to load/reload/unload modules/plugins]]
 		print [[host - Commands to activate, deactivate and list virtual hosts]]
 		print [[user - Commands to create and delete users, and change their passwords]]
@@ -267,6 +268,8 @@
 		print [[s2s:show_tls(domain) - Show TLS cipher info for encrypted sessions]]
 		print [[s2s:close(from, to) - Close a connection from one domain to another]]
 		print [[s2s:closeall(host) - Close all the incoming/outgoing s2s sessions to specified host]]
+	elseif section == "http" then
+		print [[http:list(hosts) - Show HTTP endpoints]]
 	elseif section == "module" then
 		print [[module:load(module, host) - Load the specified module on the specified host (or all hosts if none given)]]
 		print [[module:reload(module, host) - The same, but unloads and loads the module (saving state if the module supports it)]]