mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
Prosody is a modern XMPP communication server
http://prosody.im
This should bring some fixes and general robustness that mod_websocket had missed out on. The duplicated code here is not at all ideal. To prevent this happening again, we should figure out how to have the common logic in a single place, while still being able to do the websocket-specific parts that we need. The main known bug that this fixes is that it's possible for a session to get into a non-destroyable state. For example, if we try to session:close() a hibernating session, then session.conn is nil and the function will simply return without doing anything. In the mod_c2s code we already handle this, and just destroy the session. But if a hibernating websocket session is never resumed or becomes non-resumable, it will become immortal! By merging the fix from mod_c2s, the session should now be correctly destroyed. |
||
---|---|---|
certs | ||
core | ||
doc | ||
fallbacks | ||
man | ||
net | ||
plugins | ||
spec | ||
teal-src | ||
tools | ||
util | ||
util-src | ||
.busted | ||
.editorconfig | ||
.hgignore | ||
.lua-format | ||
.luacheckrc | ||
.luacov | ||
.semgrep.yml | ||
AUTHORS | ||
CHANGES | ||
configure | ||
CONTRIBUTING | ||
COPYING | ||
DEPENDS | ||
GNUmakefile | ||
HACKERS | ||
INSTALL | ||
loader.lua | ||
makefile | ||
prosody | ||
prosody.cfg.lua.dist | ||
prosodyctl | ||
README | ||
TODO |
# Prosody IM Server ## Description Prosody is a server for Jabber/XMPP written in Lua. It aims to be easy to use and light on resources. For developers, it aims to give a flexible system on which to rapidly develop added functionality or rapidly prototype new protocols. ## Useful links Homepage: https://prosody.im/ Download: https://prosody.im/download Documentation: https://prosody.im/doc/ Issue tracker: https://issues.prosody.im/ Jabber/XMPP Chat: Address: prosody@conference.prosody.im Web interface: https://chat.prosody.im/ Mailing lists: User support and discussion: https://groups.google.com/group/prosody-users Development discussion: https://groups.google.com/group/prosody-dev ## Installation See the accompanying INSTALL file for help on building Prosody from source. Alternatively see our guide at https://prosody.im/doc/install