aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.sql: Import pcall (fixes #677)Matthew Wild2016-05-221-1/+1
|
* util.events: Fix comparison of event_name with nil instead of false (fixes #554)Matthew Wild2016-05-121-1/+1
|
* portmanager: Set default read size back to 4KKim Alvefur2016-05-041-1/+1
|
* net.server_event: Schedule another read callback if there is still data left ↵Kim Alvefur2016-05-041-1/+5
| | | | in buffer after reading (fixes #583 for real)
* net.server_event: Collect entire one line function on one lineKim Alvefur2016-05-041-4/+1
|
* Merge 0.9->0.10Kim Alvefur2016-04-191-1/+1
|\
| * net.server_event: Check the buffer *length*, not the buffer itself (Fixes ↵Kim Alvefur2016-04-191-1/+1
| | | | | | | | 100% cpu usage introduced in 65abd9d7bf88)
* | Merge 0.9->0.10Kim Alvefur2016-04-191-4/+3
|\|
| * net.server_event: Return the correct value as timeoutKim Alvefur2016-04-191-1/+1
| |
| * net.server_event: Fix traceback if event re-added during starttlsKim Alvefur2016-04-191-4/+3
| |
* | mod_bosh: Don't decrement rid twice (thanks av6)Kim Alvefur2016-04-191-1/+1
| |
* | Merge 0.9->0.10Kim Alvefur2016-04-192-0/+11
|\|
| * net.server_event: Re-add write event if writebuffer is non-empty after write ↵Kim Alvefur2016-04-191-0/+4
| | | | | | | | (eg due to writes from ondrain callback) (fixes #661)
| * MUC: Accept missing form as "instant room" request (fixes #377)Kim Alvefur2016-04-191-0/+8
| |
* | mod_bosh: Reject fractional 'wait' (See #343)Kim Alvefur2016-04-191-1/+1
| |
* | mod_bosh: Return a proper BOSH error response from XML parse error callback ↵Kim Alvefur2016-04-191-2/+3
| | | | | | | | (see #343)
* | mod_bosh: Validate that 'sid' and 'wait' have sane values (fixes #475, also ↵Kim Alvefur2016-04-191-3/+14
| | | | | | | | see #343)
* | mod_bosh: Validate 'to' host (see #343)Kim Alvefur2016-04-191-1/+9
| |
* | mod_bosh: Return a proper BOSH error response instead of deprecated(?) ↵Kim Alvefur2016-04-191-2/+6
| | | | | | | | status code (See #343)
* | mod_bosh: Log error returned from stream:feed()Kim Alvefur2016-04-191-2/+3
| |
* | mod_bosh: Return if a response has been sent already (See #343)Kim Alvefur2016-04-191-0/+2
| |
* | mod_bosh: Remove unused importKim Alvefur2016-04-191-1/+0
| |
* | util.iterators: Add iterator wrapper that works like select(n, ...) applied ↵Kim Alvefur2016-04-151-0/+9
| | | | | | | | to original iterator
* | util.cache: Add method for iterating over valuesKim Alvefur2016-04-151-0/+12
| |
* | util.iterators: Normalize indentationKim Alvefur2016-04-131-12/+12
| |
* | mod_compression: Remove and replace with placeholder that logs an errorMatthew Wild2016-04-091-192/+3
| |
* | mod_presence: Fix variable nameKim Alvefur2016-04-081-1/+1
| |
* | mod_presence: Construct a 'from' JID when roster items are removed outside ↵Kim Alvefur2016-04-081-2/+3
| | | | | | | | of a session
* | moduleapi: Allow an origin session to be passed to module:send()Kim Alvefur2016-04-061-2/+2
| |
* | mod_websocket: Fix read timeout handler (thanks mt)Kim Alvefur2016-04-061-1/+4
| |
* | server_event: addclient: wrapclient already calls startconnection for us ↵daurnimator2013-12-181-2/+1
| | | | | | | | [backported from trunk]
* | server_event: Split long list of assignments into multiple lines for readabilityKim Alvefur2016-04-051-4/+7
| |
* | server_event: Fix indentation (again)Kim Alvefur2016-04-051-526/+527
| |
* | mod_roster: Fire event for pending items for good measureKim Alvefur2016-04-041-0/+6
| |
* | mod_roster: Handle roster item removal with event on user deletionKim Alvefur2016-04-041-6/+4
| |
* | mod_presence: Send unavailable presence when roster items are removed (fixes ↵Kim Alvefur2016-04-041-0/+1
| | | | | | | | #331)
* | mod_presence, mod_roster: Move responsibility for sending presence on roster ↵Kim Alvefur2016-04-042-7/+25
| | | | | | | | removal to mod_presence
* | Merge 0.9->0.10Kim Alvefur2016-04-031-0/+3
|\|
| * mod_c2s: Just destroy the session when it has no connection (see #641)Kim Alvefur2016-04-031-0/+3
| |
* | mod_bosh: Skip sending stanzas removed out by filters (fixes #657)Kim Alvefur2016-04-011-0/+1
| |
* | storagemanager: Capitalize log messageKim Alvefur2016-04-011-1/+1
| |
* | net.server_select: Remove do-nothing os_difftime calls [backported from trunk]daurnimator2015-01-191-5/+3
| |
* | net.dns: Import unpack() in forward-compatible way (Fixes compat with Lua5.2+)Kim Alvefur2016-03-281-2/+2
| |
* | util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)Kim Alvefur2016-03-281-0/+1
| |
* | certmanager: Explicitly tonumber() version number segments before doing ↵Matthew Wild2016-03-261-1/+1
| | | | | | | | arithmetic and avoid relying on implicit coercion (thanks David Favro)
* | util.sql: Log errors in transaction to error level with traceback but return ↵Kim Alvefur2016-03-251-1/+5
| | | | | | | | only error message (fixes #464)
* | mod_websocket: Send a ping on read timeoutKim Alvefur2016-03-231-0/+7
| |
* | mod_websocket: Remove warning about unsolicited pong frames "MAY be sent ↵Kim Alvefur2016-03-231-2/+1
| | | | | | | | unsolicited" per RFC 6455 (thanks mt)
* | util.sql: Charset should be innocent until proven guilty (initialize ↵Matthew Wild2016-03-231-1/+1
| | | | | | | | charset_ok to true), fixes bug introduced in 187ba2e9c012
* | prosodyctl: Only use host part of JIDs eg components that have node parts ↵Kim Alvefur2016-03-221-2/+6
| | | | | | | | (thanks suzyo)