aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* net.server_event: Update for compatibility with new server APIMatthew Wild2010-01-311-12/+13
|
* net.server_event: Trailing whitespaceMatthew Wild2010-01-291-23/+23
|
* net.server_event: Support :setlistener() method on connections to work with ↵Matthew Wild2010-01-291-0/+5
| | | | port multiplexing
* net.server_{select,event}: Fail gracefully if socket doesn't have a ↵Matthew Wild2010-01-211-1/+4
| | | | setoption method (LuaSec issue I think)
* net.server_event: Replace all calls to _start_ssl() to its bigger brother ↵Matthew Wild2010-01-211-2/+2
| | | | starttls() - fixes 5223 w/ libevent
* net.server_event: Remove access to starttls method when starttls is ↵Matthew Wild2010-01-181-0/+1
| | | | negotiated - fixes offering starttls to client who are already using it (thanks darkrain and Adium)
* net.server_event: Add conn:setoption() to set options on the socketMatthew Wild2010-01-121-0/+4
|
* net.server_event: Add server.hook_signal(signal_num, handler) to wrap ↵Matthew Wild2010-01-101-1/+17
| | | | libevent's signal-catching interface
* net.server_event: Add properties like _ip and _port to server objects tooMatthew Wild2009-12-171-0/+3
|
* net.server_event: Add :serverport() method to be compatible with old APIMatthew Wild2009-12-171-0/+5
|
* net.server_event: Load ssl/socket libraries if not already availableMatthew Wild2009-12-171-2/+2
|
* net.server_event: Add get_backend() methodMatthew Wild2009-12-081-0/+5
|
* Rename closeallservers to closeall in the public API (same as ↵Matthew Wild2009-12-071-1/+2
| | | | net.server_select) and expose setquitting
* net.server_event: Add setquitting() function to be compatible with ↵Matthew Wild2009-12-071-0/+8
| | | | net.server_select
* net.server_event: Fix closeallservers() to work correctly after the giant ↵Matthew Wild2009-12-071-2/+2
| | | | refactorizification
* net.server_event: Return "quitting" on loop exit to be compatible with ↵Matthew Wild2009-12-071-1/+2
| | | | net.server_select, and give Prosody a way to know why the loop broke
* net.server_select, net.server_event: Convert to unix line endings from WindowsMatthew Wild2009-12-041-786/+786
|
* net.server_event: Port fix in 2dc9bbf25447 to libevent-based backendMatthew Wild2009-12-031-1/+1
|
* net.server_event: Add addclient/wrapclient compatible with server_select, ↵Matthew Wild2009-11-261-23/+25
| | | | DNS and s2s should now work with libevent \o/
* net.server_event: tostring() some debug logging parametersMatthew Wild2009-11-261-3/+3
|
* net.server_event: Add set_send() for compatibility with server_selectMatthew Wild2009-11-261-0/+3
|
* net.server_event: Hide starttls function when the connection is not SSL-enabledMatthew Wild2009-11-261-0/+9
|
* net.server_event: Count the number of client connections *upwards* :)Matthew Wild2009-11-261-2/+2
|
* net.server_handler: Add stub handlers as fallbacks for those listeners don't ↵Matthew Wild2009-11-261-1/+8
| | | | implement
* net.server_event: Fix to make ontimeout() listener callback workMatthew Wild2009-11-261-1/+2
|
* 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_event: Export base as event_baseMatthew Wild2009-11-211-0/+1
|
* net.server_event: Comment overly verbose log messageMatthew Wild2009-11-211-1/+1
|
* 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 :)