aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_socket.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_admin_socket: Return error on unhandled input to prevent apparent freezeKim Alvefur2023-02-161-1/+6
| | | | | | When mod_admin_socket is loaded without mod_admin_shell, attempt to use `prosodyctl shell` will appear to freeze after any input, since no response is returned.
* mod_admin_socket: Improve error reporting when socket can't be created ↵Matthew Wild2022-03-191-2/+10
| | | | (fixes #1719)
* mod_admin_socket: Comment on LuaSocket UNIX compat codeKim Alvefur2022-03-161-0/+6
| | | | Ref #1717
* mod_admin_socket: Compat for luasocket prior to unix datagram supportKim Alvefur2022-03-151-0/+3
| | | | | | | | | | The "socket.unix" module exported only a function before https://github.com/lunarmodules/luasocket/commit/aa1b8cc9bc35e56de15eeb153c899e4c51de82a8 when datagram support was added. Fixes #1717 Thanks rsc and lucas for reporting and testing
* mod_admin_socket: Use module API meant for file pathsKim Alvefur2020-06-011-1/+1
| | | | | Makes it so that a relative path in the config becomes relative to the data directory.
* mod_admin_socket: Use wrapserver if availableKim Alvefur2020-06-011-1/+5
| | | | | Why have a custom accept function when this is net.server's entire thing?
* mod_admin_socket, util.adminstream: New module to manage a local unix domain ↵Matthew Wild2020-06-011-0/+69
socket for admin functionality