Matthew Wild
72b6c110f0
mod_admin_socket: Fire event on admin client disconnect
12 months ago
Kim Alvefur
67ea0ee50e
mod_admin_socket: Return error on unhandled input to prevent apparent freeze
...
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.
3 years ago
Matthew Wild
f8690bf151
mod_admin_socket: Improve error reporting when socket can't be created ( fixes #1719 )
4 years ago
Kim Alvefur
7badf61246
mod_admin_socket: Comment on LuaSocket UNIX compat code
...
Ref #1717
4 years ago
Kim Alvefur
8e5fec3220
mod_admin_socket: Compat for luasocket prior to unix datagram support
...
The "socket.unix" module exported only a function before
aa1b8cc9bc
when datagram support was added.
Fixes #1717
Thanks rsc and lucas for reporting and testing
4 years ago
Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
3 years ago
Kim Alvefur
b15a8e1360
mod_admin_socket: Fix typo in comments
...
Introduced in 6966026262f4
3 years ago
Kim Alvefur
aa8c162f11
mod_admin_socket: Use module API meant for file paths
...
Makes it so that a relative path in the config becomes relative to the
data directory.
6 years ago
Kim Alvefur
5cdbe0edde
mod_admin_socket: Use wrapserver if available
...
Why have a custom accept function when this is net.server's entire
thing?
6 years ago
Matthew Wild
4c6992a00e
mod_admin_socket, util.adminstream: New module to manage a local unix domain socket for admin functionality
6 years ago