Prosody is a modern XMPP communication server http://prosody.im
Find a file
Matthew Wild 4dcabd36ce mod_websocket: Fire pre-session-close event (fixes #1800)
This event was added in a7c183bb4e64 and is required to make mod_smacks know
that a session was intentionally closed and shouldn't be hibernated (see
fcea4d9e7502).

Because this was missing from mod_websocket's session.close(), mod_smacks
would always attempt to hibernate websocket sessions even if they closed
cleanly.

That mod_websocket has its own copy of session.close() is something to fix
another day (probably not in the stable branch). So for now this commit makes
the minimal change to get things working again.

Thanks to Damian and the Jitsi team for reporting.
2023-02-20 18:10:15 +00:00
certs Add makefiles compatible with BSD make 2018-03-11 06:01:19 +01:00
core sessionmanager: Improve logging around session destruction 2023-02-09 15:09:03 +00:00
doc Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
fallbacks fallbacks.bit: remove unused one-letter loop variables [luacheck] 2016-07-14 18:40:43 +08:00
man man/prosodyctl: Complete list of 'check' variants 2022-02-02 18:28:28 +01:00
net net.http.parser: Fix off-by-one error in chunk parser 2023-02-17 17:01:19 +00:00
plugins mod_websocket: Fire pre-session-close event (fixes #1800) 2023-02-20 18:10:15 +00:00
spec net.http.parser: Fix off-by-one error in chunk parser 2023-02-17 17:01:19 +00:00
teal-src util.datamapper: Improve handling of schemas with non-obvious "type" 2022-07-08 17:32:48 +02:00
tools Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
util util.startup: Close state on exit to ensure GC finalizers are called 2023-01-22 14:45:47 +01:00
util-src Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
.busted util.hashes: Add test vectors from RFC 6070 for PBKDF2 (aka SCRAM Hi()) 2019-04-19 14:12:28 +02:00
.editorconfig editorconfig: We use tabs 2021-07-18 12:57:06 +02:00
.hgignore hgignore: Stop ignoring *.report, these are no longer created since switching to busted 2017-10-22 14:39:59 +02:00
.luacheckrc Backport 875f73ead4e8 8e4033213c62 to deal with luacheck 0.26 2022-07-08 19:42:48 +02:00
.luacov .luacov: Add config for luacov, exclude spec/ 2018-10-11 10:39:11 +01:00
.semgrep.yml lint: Add initial semgrep config 2021-01-18 17:28:34 +01:00
AUTHORS AUTHORS: A small update... 2013-03-31 13:43:12 +01:00
CHANGES CHANGES: Update to reflect 0.12.0 release 2022-03-19 11:41:05 +00:00
configure configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash) 2022-12-29 16:29:03 +00:00
CONTRIBUTING CONTRIBUTING: Add a short file referencing the online doc/contributing page 2019-04-03 01:09:21 +02:00
COPYING util.struct: Import Roberto 'struct' library v0.3 2022-03-04 15:03:02 +00:00
DEPENDS DEPENDS: Change link to https 2017-12-05 11:59:43 +01:00
GNUmakefile Merge config-updates+check-turn from timber 2022-03-04 16:33:41 +00:00
HACKERS doc/coding_style.{txt,md}: Update coding style guide 2019-03-14 16:13:14 +00:00
INSTALL util.dependencies: Refer to 'apt' instead of 'apt-get' 2022-02-13 17:27:29 +01:00
makefile make: Split up install targets to allow different subset 2022-02-13 16:53:56 +01:00
prosody util.startup: Fix async waiting for last shutdown steps 2022-06-14 16:28:49 +02:00
prosody.cfg.lua.dist prosody.cfg.lua.dist: Remove comment about mod_*.lua above modules_enabled 2022-03-03 10:24:59 +00:00
prosodyctl util.startup: Close state on exit to ensure GC finalizers are called 2023-01-22 14:45:47 +01:00
README README: Reflow text to ~78 columns 2022-01-28 14:19:05 +01:00
TODO TODO: Remove statistics since this was done in 0.10 2019-01-21 21:30:54 +01:00

# 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