aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | mod_adhoc: Remove unused local [luacheck]Kim Alvefur2018-03-061-1/+1
| | |
* | | spec: Trim trailing whitespaceKim Alvefur2018-03-062-2/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2018-03-062-1/+4
|\| |
| * | prosodyctl: Use correct separator in chown call (fixes #1093)Kim Alvefur2018-03-021-1/+1
| | |
| * | hostmanager: Add a logging close method in case something tries to close the ↵Kim Alvefur2018-02-241-0/+3
| | | | | | | | | | | | origin of local-originated stanzas (see #1084)
* | | util_pubsub_spec: Beginnings of tests for util.pubsubKim Alvefur2018-03-031-0/+27
| | |
* | | luacheckrc: Declare known global functions in config fileKim Alvefur2018-03-011-0/+12
| | |
* | | util.logger: Import globals (fixes on Lua 5.2)Kim Alvefur2018-02-281-0/+2
| | |
* | | vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-2846-0/+46
| | |
* | | Makefile: Also package /net/resolversMichel Le Bihan2018-02-281-1/+2
| | | | | | | | | | | | Fixes #1094
* | | util.logger: New method 'add_simple_sink', logger.add_simple_sink(print) worksMatthew Wild2018-02-271-0/+11
| | |
* | | server_epoll: Onconnect should happen before first attempt to write to socketKim Alvefur2018-02-261-1/+1
| | |
* | | net.http: Refactor to use new net.connect API, brings support for async DNSMatthew Wild2018-02-261-70/+81
| | |
* | | net.connect: Fix to store correct parameterMatthew Wild2018-02-261-1/+1
| | |
* | | net.connect: Improve error messageMatthew Wild2018-02-261-1/+1
| | |
* | | net.connect: Handle immediate failures of server.addclientMatthew Wild2018-02-261-1/+6
| | |
* | | net.connect: Handle case when resolver runs out of targetsMatthew Wild2018-02-261-0/+8
| | |
* | | net.connect: Track last connection errorMatthew Wild2018-02-261-1/+2
| | |
* | | mod_s2s: Don't use string concatenation when passing values to loggingKim Alvefur2018-02-251-1/+1
| | |
* | | util.ringbuffer: Add method for discarding buffered data without returning ↵Kim Alvefur2018-02-241-0/+23
| | | | | | | | | | | | it to lua
* | | util.ringbuffer: Add various commentsKim Alvefur2018-02-241-0/+19
| | |
* | | net.server_epoll: Spelling writeable -> writableKim Alvefur2018-02-241-6/+6
| | |
* | | net.server_epoll: Remove special casing for having sent an empty write ↵Kim Alvefur2018-02-241-7/+5
| | | | | | | | | | | | buffer because the wantwrite flag must be unset regardless
* | | net.server_epoll: Call onconnect listener on first successful read or writeKim Alvefur2018-02-241-29/+14
| | |
* | | Merge 0.10->trunkKim Alvefur2018-02-242-3/+26
|\| |
| * | mod_mam: Implement option to enable MAM implicitly when client support is ↵Kim Alvefur2018-02-212-3/+26
| | | | | | | | | | | | detected (#867)
* | | mod_storage_sql: Catch and report value deserialization errorsKim Alvefur2018-02-241-8/+19
| | |
* | | net.connect: Default to *a pattern if none providedMatthew Wild2018-02-231-1/+1
| | |
* | | net.http: Rename handler to conn, for consistency with all our other codeMatthew Wild2018-02-231-3/+3
| | |
* | | net.http: Remove use of 'conn' (raw socket object returned by addclient)Matthew Wild2018-02-231-9/+10
| | |
* | | moduleapi: Remove unused and undocumented :has_feature and :has_identityKim Alvefur2018-02-232-16/+0
| | |
* | | doc: Add template / API specification for net.server (thanks Daurnimator)Kim Alvefur2018-02-231-0/+243
| | |
* | | net.connect: New API for outgoing connections, based on 'service resolvers'Matthew Wild2018-02-233-0/+163
| | |
* | | net.server_event: Not every instantly-readable connection is an error, ↵Matthew Wild2018-02-231-2/+6
| | | | | | | | | | | | continue if possible
* | | net.server_event: Better outgoing connection error handlingMatthew Wild2018-02-231-1/+3
| | | | | | | | | | | | | | | | | | Same as 67311cda0625. Check for readability. If a socket is readable after initial connection, it likely means an error, so we call the readcallback for that connection to handle it (and ultimately close).
* | | net.server_select: Better detection of errors for outgoing connectionsMatthew Wild2018-02-231-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On connection failure, a socket is marked readable and writable. So to detect initial connection failures (connection refused, etc.) we now watch for sockets becoming readable during initial connection, and also read from readable sockets before writing to writable sockets. This should fix 'onconnect' being called for outgoing connections that actually failed.
* | | MUC: Emit 333 status code on presence as per XEP-0045 1.30 (fixes #1087)Jonas Wielicki2018-02-231-1/+2
| | |
* | | MUC: Treat missing type and type=normal the sameKim Alvefur2017-10-201-1/+1
| | |
* | | mod_bosh: Return implicit 404 instead of the proper BOSH terminate thingKim Alvefur2017-12-271-6/+3
| | |
* | | mod_bosh: Limit stream to current host (fixes #371)Kim Alvefur2017-12-131-2/+1
| | |
* | | mod_bosh: Make into a normal module (fixes #402)Kim Alvefur2017-12-131-16/+12
| | |
* | | util.set: Add a __name field to metatableKim Alvefur2018-02-161-1/+1
| | |
* | | util.array: Add a __name field to metatableKim Alvefur2018-02-161-1/+1
| | |
* | | util.stanza: Change __type to __name as this is used by Lua 5.3 in some ↵Kim Alvefur2018-02-161-1/+1
| | | | | | | | | | | | error reporting functions
* | | MUC: Prevent traceback in case of no history items to serialize (fixes #1083)Kim Alvefur2018-02-151-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2018-02-043-4/+18
|\| |
| * | mod_dialback: Ignore unused arguments [luacheck]Kim Alvefur2018-02-041-2/+2
| | |
| * | mod_dialback: Expand abbrevationKim Alvefur2018-02-041-1/+1
| | |
| * | mod_dialback: Split long line [luacheck]Kim Alvefur2018-02-041-1/+2
| | |
| * | mod_dialback: Use renamed API for hooking non-stanza tagsKim Alvefur2018-02-041-2/+2
| | |