aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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)
* 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
|
* util.throttle: floor() internal balance calculationMatthew Wild2012-07-091-1/+2
|
* 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 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
|\
| * Merge 0.9->trunkMatthew Wild2012-06-121-5/+5
| |\
| * \ Merge with trunkMatthew Wild2012-06-123-15/+16
| |\ \
| * | | certmanager: Add quotes around cert file path when logging.Waqas Hussain2012-06-121-1/+1
| | | |
| * | | MUC: Handle missing persistent room data.Waqas Hussain2012-06-121-10/+18
| | | |
* | | | mod_saslauth: Pass session to usermanager.get_sasl_handler()Matthew Wild2012-07-041-2/+2
| | | |
* | | | TODO: Add statisticsMatthew Wild2012-07-041-0/+1
| | | |
* | | | util.logger: Remove some redundant codeMatthew Wild2012-06-251-2/+0
| | | |
* | | | util.stanza: Make stanza:childtags() behave like :get_child()Kim Alvefur2012-07-051-2/+2
| | | |
* | | | prosodyctl: Fix typoKim Alvefur2012-07-031-1/+1
| | | |
* | | | util.pposix: Add setenv()Kim Alvefur2012-07-031-0/+33
| | | |
* | | | util.sasl: Make registerMechanism a public functionMatthew Wild2012-06-181-1/+1
| |_|/ |/| |
* | | util.dataforms: Fix parsing of -multi fieldsFlorian Zeitz2012-06-121-5/+5
| |/ |/|
* | mod_adhoc, mod_admin_adhoc, mod_announce: Use module:provides() to manage ↵Florian Zeitz2012-06-123-15/+16
|/ | | | Ad-Hoc commands
* mod_s2s: Remove check for socket.tcp6()Kim Alvefur2012-05-291-4/+0
|
* mod_s2s: Only do AAAA lookup if IPv6 is available, and A if IPv4 is available.Kim Alvefur2012-05-291-1/+17
|
* mod_proxy65: Fix ACLKim Alvefur2012-05-291-1/+3
|
* util.sasl.plain: make it return "not-authorized" in case of non-existant ↵Marco Cirillo2012-05-281-1/+3
| | | | accounts instead of "account-disabled" to avoid enumeration.
* stanza_router: Also don't bounce <iq type='result'>Matthew Wild2012-05-271-1/+1
|
* stanza_router: Don't bounce type=error stanzasKim Alvefur2012-05-271-0/+2
|
* mod_proxy65: Add missing import of portmanagerKim Alvefur2012-05-271-0/+1
|
* mod_proxy65: Warn about pre-0.9 config style (per host proxy65_port)Kim Alvefur2012-05-271-1/+7
|
* mod_http: Fix traceback when no HTTP services succeed in bindingMatthew Wild2012-05-261-1/+1
|
* DEPENDS: Add luafilesystem (thanks Zash)Matthew Wild2012-05-261-0/+1
|
* mod_admin_telnet: More code found and updated, which depended on ↵Kim Alvefur2012-05-251-1/+1
| | | | pre-8c5b5ebaacb0 behaviour.
* mod_admin_telnet: Code found and updated, which depended on pre-8c5b5ebaacb0 ↵Kim Alvefur2012-05-251-1/+1
| | | | behaviour.
* mod_http: Fix normalize_path('/') to not return an empty string, fixes ↵Kim Alvefur2012-05-251-1/+1
| | | | module:http_url()
* net.http.parser: Break loop when no more usable data in bufferMatthew Wild2012-05-251-0/+2
|
* mod_watchregistrations: Convert JID list to a set, and prep before use to ↵Matthew Wild2012-05-241-2/+3
| | | | fix traceback on invalid JIDs (thanks sMi)
* util.set: Change '/' operator from filter to map+filter (nil to drop from ↵Matthew Wild2012-05-241-2/+3
| | | | set, false is a valid item). No code found which depends on current behaviour.
* net.server_event: Internal changes to get plain-SSL outgoing connections ↵Matthew Wild2012-05-241-3/+3
| | | | working (as for HTTPS)
* mod_s2s, s2sout.lib: Send stream header in onconnect()Matthew Wild2012-05-242-4/+5
|
* net.server_event: Assume wrapclient() is taking a new connection, and call ↵Matthew Wild2012-05-241-1/+1
| | | | onconnect when appropriate (to match server_select)
* net.server_select: Don't close client connections when closing a server (it ↵Matthew Wild2012-05-231-7/+1
| | | | wasn't working anyway)