aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.server_select, net.server_event: Silence 'error during ssl handshake' ↵Matthew Wild2011-01-111-1/+1
| | | | for wantread and wantwrite
* net.server_event: Log interface and port number when binding failsMatthew Wild2011-01-061-1/+1
|
* net.server_event: API parity with net.server_socketPaul Aurich2010-11-211-0/+4
|
* net.server_select, net.server_event: Remove set_mode() call from ↵Matthew Wild2010-08-221-1/+0
| | | | server.link()... it can cause the last chunk of data to be discarded if shorter than buffersize (thanks to Zash for the debugging)
* net.server_event: Remove some debug messagesMatthew Wild2010-08-021-3/+0
|
* net.server_event: Fix to not call onconnect a second time after the SSL ↵Matthew Wild2010-07-221-17/+19
| | | | handshake for starttls connections (thanks Flo)
* net.server_event: Remove debug logging from dummy onstatus handlerMatthew Wild2010-07-171-1/+0
|
* net.server_event: attemp to fix more spelling fail.Waqas Hussain2010-06-111-9/+9
|
* net.server_event: Also return the socket from wrapclient, to maintain ↵Matthew Wild2010-06-021-1/+1
| | | | compatibility with server_select (thanks uhoreg)
* net.server_select, net.server_event: Add server.link() to link 2 connections ↵Matthew Wild2010-05-051-0/+21
| | | | with an intermediate buffer of the specified size
* net.server_select, net.server_event: Support for ondrain listener callback ↵Matthew Wild2010-05-051-0/+3
| | | | for when send buffer is empty
* net.server_select, net.server_event: Rename :pattern() method to :set_mode() ↵Matthew Wild2010-05-051-1/+8
| | | | for select backend, and add :set_mode() to event backend
* net.server_select, net.server_event: Support for :pause() and :resume() on ↵Matthew Wild2010-05-051-1/+14
| | | | connections
* net.server_event: Be sure to fire onincoming for backwards-compatibility ↵Matthew Wild2010-05-051-1/+2
| | | | with pre-onconnect listeners (thanks darkrain/mod_console)
* net.server_event: Call listener.onconnect if it exists, otherwise stick to ↵Matthew Wild2010-04-111-2/+2
| | | | listener.onincoming
* net.server_event: Fixed spelling fail.Waqas Hussain2010-03-261-4/+4
|
* net.server_event: Don't re-try a write if the connection closed (thanks Flo)Matthew Wild2010-03-251-1/+1
|
* net.server_event: Bump timeout values up somewhatMatthew Wild2010-03-241-3/+3
|
* net.server_event: Fix some global accessesMatthew Wild2010-03-011-2/+2
|
* net.server_event: Improve and fix potential traceback in logging of new ↵Matthew Wild2010-03-011-3/+3
| | | | incoming connections
* net.server_event: Add lock_read() method to connectionsMatthew Wild2010-02-251-0/+4
|
* net.server_event: Pass false as connection error to disconnect handler if ↵Matthew Wild2010-02-181-1/+1
| | | | close was initiated by us
* net.server_event: Increase SSL handshake timeout to 30s, make handshake ↵Matthew Wild2010-02-171-4/+4
| | | | round-trip count configurable, and bump connect timeout to 20s (thanks Flo)
* net.server_event: Fire onincoming() callback for new connections as opposed ↵Matthew Wild2010-02-141-1/+2
| | | | to the new onconnect() - let's change this for a future version though
* net.server_event: Fix another instance of creating an SSL context - ↵Matthew Wild2010-02-141-1/+1
| | | | certmanager now does this
* net.server_event: Fix traceback in creating SSL contextMatthew Wild2010-02-141-1/+1
|
* net.server_event: Fixes for traceback with no LuaSecMatthew Wild2010-02-111-3/+4
|
* 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
|