aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_c2s: Change 'reason' parameter of session:close() to take nil to mean ↵Matthew Wild2012-07-231-6/+6
| | | | 'graceful close initiated by us' and false for 'graceful close initiated by client'
* mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')Matthew Wild2012-07-231-1/+1
|
* net.server_event: Remove unused variables and importsMatthew Wild2012-07-221-9/+1
|
* net.server_select: Remove unused variables and importsMatthew Wild2012-07-221-5/+0
|
* net.server_select: Remove extraneous variableMatthew Wild2012-07-221-1/+0
|
* sessionmanager: Clean up some unused variables and importsMatthew Wild2012-07-221-7/+2
|
* net.server_select: Never call ondisconnect() directly, go via ↵Matthew Wild2012-07-221-14/+11
| | | | handler:close() or handler:force_close() - fixes cases where ondisconnect() could be called multiple times for the same connection, leading to issues with s2sout retry logic.
* Merge with MarandaMatthew Wild2012-07-221-0/+35
|\
| * mod_admin_telnet: add s2s:closeall command and relative help entry.Marco Cirillo2012-07-091-0/+35
| |
* | Merge with ZashMatthew Wild2012-07-223-3/+40
|\ \
| * \ Merge Zash with Zash for ZashMatthew Wild2012-07-221-2/+2
| |\ \
| | * | net.http: Use base64 from util.encodings instead of luasocketKim Alvefur2012-07-071-2/+2
| | | |
| * | | adhoc.lib: Make some globals localKim Alvefur2012-07-181-1/+2
| | | |
| * | | mod_admin_telnet: Add info about user management commands to the helpKim Alvefur2012-07-091-0/+5
| | | |
| * | | mod_admin_telnet: Add some user management commands.Kim Alvefur2012-07-091-0/+31
| | | |
* | | | mod_admin_telnet: Replace anonymous function with loop (saves a closure)Matthew Wild2012-07-221-11/+11
| | | |
* | | | Merge 0.9->trunkMatthew Wild2012-07-2210-131/+164
|\ \ \ \
| * | | | mod_s2s: Don't call ondisconnect manually, don't call conn:close() 3 times ↵Matthew Wild2012-07-221-19/+29
| | | | | | | | | | | | | | | | | | | | (!) and merge its logic and streamdisconnected into session_close - including now waiting for a reply </stream:stream> if there is the chance of further stanzas requiring delivery arriving. session.sends2s() on a half-closed stream returns false.
| * | | | mod_s2s: Don't treat a stanza as delivered if session.sends2s() returns falseMatthew Wild2012-07-221-3/+4
| | | | |
| * | | | mod_presence: Handle nil disconnection errorMatthew Wild2012-07-221-4/+6
| | | | |
| * | | | mod_iq: Don't treat an iq as handled if session.send() returns falseMatthew Wild2012-07-221-4/+1
| | | | |
| * | | | mod_message: Don't treat a message as delivered ok if session.send() returns ↵Matthew Wild2012-07-221-5/+6
| | | | | | | | | | | | | | | | | | | | false
| * | | | mod_c2s: Don't call ondisconnect manually on close, it is now called by ↵Matthew Wild2012-07-221-4/+23
| | | | | | | | | | | | | | | | | | | | net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data).
| * | | | net.http: Don't call ondisconnect manually, net.server now calls it on closeMatthew Wild2012-07-221-1/+0
| | | | |
| * | | | net.server_select, net.server_event: Change semantics of conn:close() - ↵Matthew Wild2012-07-222-26/+32
| | | | | | | | | | | | | | | | | | | | always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed)
| * | | | sessionmanager: Have session.send() of a retired session return false to ↵Matthew Wild2012-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | indicate failure
| * | | | mod_s2s: Make unauthed session timeout a little more aggressive... otherwise ↵Matthew Wild2012-07-221-4/+2
| | | | | | | | | | | | | | | | | | | | it's possible for sessions to slip under the net and never get killed off
| * | | | mod_s2s/s2sout.lib: Fix indentationMatthew Wild2012-07-221-60/+60
| | | | |
* | | | | Merge 0.9->trunkMatthew Wild2012-07-221-8/+7
|\| | | |
| * | | | mod_s2s/s2sout.lib: Don't wait for both v4 and v6 DNS responses if we only ↵Matthew Wild2012-07-221-8/+7
| | | | | | | | | | | | | | | | | | | | send one (e.g. because v6 is disabled)
* | | | | Merge 0.9->trunkMatthew Wild2012-07-192-4/+1
|\| | | | | |_|_|/ |/| | |
| * | | mod_admin_adhoc: Remove unused variable and save a bit of CPU...Matthew Wild2012-07-191-1/+0
| | | |
| * | | moduleapi: Remove unused import of util.multitableMatthew Wild2012-07-191-3/+1
| |/ /
* | | Merge 0.9->trunkMatthew Wild2012-07-091-1/+2
|\| |
| * | util.throttle: floor() internal balance calculationMatthew Wild2012-07-091-1/+2
| | |
* | | Merge 0.9->trunkMatthew Wild2012-07-081-0/+6
|\| |
| * | util.pposix: Add comments to mallinfo fields we use, so I don't forget ↵Matthew Wild2012-07-081-0/+6
| | | | | | | | | | | | tomorrow what they mean
* | | Merge 0.9->trunkMatthew Wild2012-07-083-36/+52
|\ \ \ | |/ / |/| |
| * | Merge 0.9->trunkMatthew Wild2012-07-072-3/+4
| |\|
| * | Merge 0.9->trunkMatthew Wild2012-07-050-0/+0
| |\ \
| * \ \ Merge 0.9->trunkMatthew Wild2012-07-057-8/+40
| |\ \ \
| * | | | mod_admin_web: Use util.dataforms' own error checkingFlorian Zeitz2012-07-051-34/+50
| | | | |
| * | | | mod_dialback: Skip an unnecessary nameprep.Waqas Hussain2012-06-151-1/+1
| | | | |
| * | | | s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks ↵Waqas Hussain2012-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | for the testing Zash).
* | | | | Merge with backoutMatthew Wild2012-07-081-2/+1
|\ \ \ \ \
| * | | | | Backed out changeset 72a2eec4204a (incomplete fix)Matthew Wild2012-07-081-2/+1
| | |_|_|/ | |/| | |
* / | | | util.pposix: Add meminfo() binding to memory allocation stats provided by ↵Matthew Wild2012-07-081-0/+28
|/ / / / | | | | | | | | | | | | mallinfo() [compilation tested on Ubuntu...]
* | | | mod_auth_anonymous: Attach a fake roster to the session, so the null storage ↵Kim Alvefur2012-07-071-1/+2
| | | | | | | | | | | | | | | | backend can be used
* | | | usermanager: Pass session on to auth provider (missing half of commit ↵Matthew Wild2012-07-071-2/+2
| |_|/ |/| | | | | | | | 0545a574667b) (thanks Zash)
* | | Merge (some of) trunk -> 0.9Matthew Wild2012-07-052-11/+19
|\| | | |/ |/|