aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* net.httpserver, net.http: Update for new net.server API (untested)Matthew Wild2009-11-222-4/+4
|
* *_listener: Update for new net.server API, specifically .listener -> ↵Matthew Wild2009-11-225-12/+12
| | | | .onincoming, .disconnect -> .ondisconnect
* net.adns: Update for new net.server API (doesn't work with libevent yet)Matthew Wild2009-11-221-3/+3
|
* s2smanager: Update for new net.server API (s2s still doesn't work with ↵Matthew Wild2009-11-221-3/+3
| | | | libevent for other reasons)
* net.server_event: Comment accidentally uncommented vdebug()Matthew Wild2009-11-221-1/+1
|
* net.server_event: Handle and ignore 'wantread' error from receive(), treat ↵Matthew Wild2009-11-221-1/+1
| | | | as a timeout
* net.server_event: Remove premature non-optimisationMatthew Wild2009-11-221-2/+2
|
* net.server_event: Fix moved line caused by Mercurial's crecord and my ↵Matthew Wild2009-11-221-1/+1
| | | | selective commits
* net.server_event: Obey nowriting/nointerface for locks in interface methodsMatthew Wild2009-11-221-0/+2
|
* net.server_event: Use conn property for send/receive instead of caching, ↵Matthew Wild2009-11-221-2/+2
| | | | fixes trying to use original socket after SSL-wrapping
* net.server_event: Set startsslcallback property to nil when we're done ↵Matthew Wild2009-11-221-0/+1
| | | | handshaking, otherwise we keep trying to repeat the handshake
* net.server_event: Add set_sslctx() method to connectionsMatthew Wild2009-11-221-1/+3
|
* net.server_event: conn.usingssl -> conn._usingsslMatthew Wild2009-11-221-4/+4
|
* net.server_event: Use correct listener callbacksMatthew Wild2009-11-221-2/+2
|
* net.server_event: Small whitespace fixesMatthew Wild2009-11-221-1/+2
|
* net.server_event: Correct a few instances of .sslctx to ._sslctxMatthew Wild2009-11-221-2/+2
|
* net.server_event: Call connection's onconnect, no need to pass closures ↵Matthew Wild2009-11-221-1/+1
| | | | around now
* net.server_event: Use connection id in all relevant loggingMatthew Wild2009-11-221-11/+11
|
* net.server_event: Define id property for connection objects, to aid loggingMatthew Wild2009-11-221-0/+2
|
* net.server_event: Define vdebug function for convenienceMatthew Wild2009-11-221-0/+1
|
* net.server_event: Change to new standard addserver() syntaxMatthew Wild2009-11-211-2/+2
|
* net.server_select: Change addserver() parameters to be compatible with new ↵Matthew Wild2009-11-211-2/+2
| | | | standard syntax
* mod_tls: Switch to : syntax for connection methodsMatthew Wild2009-11-211-5/+5
|
* xmppclient_listener: Use : syntax for connection methods, to be compatible ↵Matthew Wild2009-11-211-2/+2
| | | | with new server.lua
* xmppclient_listener: Switch to .onincoming listener method, to be compatible ↵Matthew Wild2009-11-211-1/+1
| | | | with new server_event.lua
* net.server: Small fix for addtimer() compatibility codeMatthew Wild2009-11-211-1/+1
|
* net.connlisteners: Standardise on new syntax for addserver(), and clean up a bitMatthew Wild2009-11-211-3/+8
|
* sessionmanager: Use : syntax for calling connection methodsMatthew Wild2009-11-211-2/+2
|
* mod_bosh: Don't log response XMLMatthew Wild2009-11-211-2/+2
|
* util.timer: Fix libevent timers (event.base doesn't exist...)Matthew Wild2009-11-211-1/+2
|
* net.server_event: Export base as event_baseMatthew Wild2009-11-211-0/+1
|
* net.server_event: Comment overly verbose log messageMatthew Wild2009-11-211-1/+1
|
* util.timer: Use libevent for lightweight timers if available and configured ↵Matthew Wild2009-11-211-24/+44
| | | | (use_libevent option)
* net.server: New net.server to choose the appropriate library from ↵Matthew Wild2009-11-211-0/+21
| | | | server_select/server_event based on the availability of luaevent and the use_libevent config option
* net.server: Rename to net.server_selectMatthew Wild2009-11-211-0/+0
|
* net.server_event: Remove redundant getid() functionMatthew Wild2009-11-201-5/+0
|
* net.server_event: Initial commit of server_event.lua. Don't get too excited, ↵Matthew Wild2009-11-201-0/+759
| | | | it's not used at all yet, and is still incomplete :)
* s2smanager: Fail outgoing s2s connection if hostname does not pass ↵Matthew Wild2009-11-201-1/+6
| | | | idna_to_ascii(), thanks Flo + waqas
* s2smanager: Queue db:verify unless we already sent a db:result (if we had ↵Matthew Wild2009-11-201-5/+1
| | | | then it can could a dialback deadlock). Also remove some redundant code which could cause a db:result to be sent while still negotiating features (e.g. TLS) and break things. Collectively these fix a 'random' s2s failure (usually with ejabberd for some reason) - resulting in an 'unbound prefix' XML error, or 'ssl handshake failure'. Was this commit message long enough? I think so.
* util.sasl: Add COMPAT commentMatthew Wild2009-11-181-0/+1
|
* mod_console: Moved activation of the console port from the main file to ↵Waqas Hussain2009-11-182-1/+2
| | | | mod_console.
* prosody.net_activate_ports: Slightly refactored and definition moved to ↵Waqas Hussain2009-11-181-35/+36
| | | | before modules are loaded.
* mod_register: Log a debug message when a session's IP is not available.Waqas Hussain2009-11-181-1/+3
|
* mod_bosh: Set session.ip for BOSH sessions.Waqas Hussain2009-11-181-0/+1
|
* util.sasl: Added compatibility workaround for jwchat sending an encoded ↵Waqas Hussain2009-11-181-1/+1
| | | | trailing '\0' in SASL responses.
* net.dns: Be more strict about the records we cacheMatthew Wild2009-11-181-5/+4
|
* net.dns: Be more strict about checking the DNS replies we receiveMatthew Wild2009-11-181-1/+2
|
* util.sasl: Improved a log message.Waqas Hussain2009-11-131-1/+1
|
* util.sasl: Allow authzid=username (for compatibility with Smack's ↵Waqas Hussain2009-11-131-1/+1
| | | | non-compliant behavior).
* util.sasl: Return proper error when client provides authzid.Waqas Hussain2009-11-131-1/+1
|