1
0
Fork 0
mirror of https://github.com/bjc/prosody.git synced 2025-04-06 14:47:37 +03:00
Prosody is a modern XMPP communication server http://prosody.im
Find a file
Kim Alvefur 435e008568 util.startup: Close state on exit to ensure GC finalizers are called
Ensures a last round of garbage collection and that finalizers are
called. Fixes things like proper closing of SQLite3 state.

There are more calls to os.exit() but most of them exit with an error or
in a case where a final GC sweep might not matter as much.

It would be nice if this was the default.

Calling util.statup.exit() everywhere may be sensible, but would be more
involved, requiring imports everywhere.
2023-01-22 14:45:47 +01:00
certs Add makefiles compatible with BSD make 2018-03-11 06:01:19 +01:00
core core.s2smanager: Don't remove unrelated session on close of bidi session 2022-06-27 01:22:36 +02: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.server: Fix 2023-01-08 13:35:04 +01:00
plugins mod_muc_mam: Copy "include total" behavior from mod_mam 2023-01-21 17:14:55 +01:00
spec util.json: Accept empty arrays with whitespace (fixes ) 2022-11-04 12:26:10 +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