Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | server_event: Move local references to various functions to top of file | Kim Alvefur | 2015-09-25 | 1 | -22/+18 | |
| | | | ||||||
| * | | server_event: Replace implementation of ordered set with a simple table set | Kim Alvefur | 2015-09-25 | 1 | -38/+6 | |
| | | | ||||||
| * | | net.server_{select,event}: addclient: Use getaddrinfo to detect IP address ↵ | Kim Alvefur | 2013-12-23 | 1 | -1/+8 | |
| | | | | | | | | | | | | type if no socket type argument given. (Argument must be given for non-TCP) | |||||
| * | | net.server_{select,event}: addclient: Add argument for overriding socket type | Kim Alvefur | 2013-12-23 | 1 | -2/+9 | |
| | | | ||||||
| * | | net/server_event: pcall require ssl rather than relying on globals | daurnimator | 2013-12-18 | 1 | -15/+7 | |
| | | | ||||||
| * | | net/server_event: add_client should have same arguments no-matter the server ↵ | daurnimator | 2013-12-18 | 1 | -21/+6 | |
| | | | | | | | | | | | | backend | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-08-20 | 1 | -4/+4 | |
|\| | | ||||||
| * | | net.server_{select,event}: Don't rely on LuaSocket and LuaSec being present ↵ | Kim Alvefur | 2015-02-23 | 1 | -6/+6 | |
| | | | | | | | | | | | | in the globals table | |||||
* | | | Move timer code out of util.timer and into relevant net.server backends | daurnimator | 2014-10-20 | 1 | -0/+18 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2014-09-02 | 1 | -3/+8 | |
|\| | | ||||||
| * | | Merge 0.9->0.10 | Kim Alvefur | 2014-09-02 | 1 | -3/+8 | |
| |\| | ||||||
| | * | net.server_{select,event}: Add 'ondetach' callback for listener objects, to ↵ | Matthew Wild | 2014-08-29 | 1 | -2/+8 | |
| | | | | | | | | | | | | notify them when another listener is being assigned to a connection | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2014-07-25 | 1 | -0/+1 | |
|\| | | ||||||
| * | | Merge 0.9->0.10 | Matthew Wild | 2014-07-25 | 1 | -0/+1 | |
| |\| | ||||||
| | * | net.server_select/event: Switch sender mode to *a when reading, to make sure ↵ | Matthew Wild | 2014-07-25 | 1 | -0/+1 | |
| | | | | | | | | | | | | we get all available data | |||||
* | | | net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY ↵ | daurnimator | 2014-06-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | instead of EINPROGRESS when the dns lookup has multiple results | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2014-04-02 | 1 | -0/+1 | |
|\| | | ||||||
| * | | Merge 0.9->0.10 | Matthew Wild | 2014-04-02 | 1 | -77/+80 | |
| |\ \ | | |/ | |/| | ||||||
| * | | net.server_{select,event}: Add compat code for supporting the same client ↵ | Kim Alvefur | 2014-04-01 | 1 | -0/+1 | |
| | | | | | | | | | | | | port API on connections | |||||
| * | | Backed out changeset a5b5bce71a11 | Kim Alvefur | 2014-03-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | net.server_event: Rename conn:port() -> conn:clientport() to match server_select | Kim Alvefur | 2014-03-27 | 1 | -1/+1 | |
| | | | ||||||
* | | | net.server_{select,event}: addclient: Handle missing getaddrinfo | Kim Alvefur | 2013-12-23 | 1 | -4/+2 | |
| | | | ||||||
* | | | net.server_{select,event}: addclient: Use getaddrinfo to detect IP address ↵ | Kim Alvefur | 2013-12-23 | 1 | -1/+8 | |
| | | | | | | | | | | | | type if no socket type argument given. (Argument must be given for non-TCP) | |||||
* | | | net.server_{select,event}: addclient: Add argument for overriding socket type | Kim Alvefur | 2013-12-23 | 1 | -4/+13 | |
| | | | ||||||
* | | | net/server: addclient: wrapclient already calls startconnection for us | daurnimator | 2013-12-18 | 1 | -2/+1 | |
| | | | ||||||
* | | | net/server_event: pcall require ssl rather than relying on globals | daurnimator | 2013-12-18 | 1 | -19/+11 | |
| | | | ||||||
* | | | net/server_event: add_client should have same arguments no-matter the server ↵ | daurnimator | 2013-12-18 | 1 | -21/+6 | |
| |/ |/| | | | | | backend | |||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -28/+28 | |
| | | ||||||
* | | Merge 0.9->trunk | Kim Alvefur | 2013-07-22 | 1 | -0/+1 | |
|\| | ||||||
| * | net.server_event: Pass ondrain handler from listener | Kim Alvefur | 2013-07-22 | 1 | -0/+1 | |
| | | ||||||
* | | net.server_event: Add support for listener.onreadtimeout(conn), which can ↵ | Matthew Wild | 2013-05-24 | 1 | -49/+52 | |
|/ | | | | return true to prevent the connection from being closed when a read timeout occurs | |||||
* | net.server*: Allow the TCP backlog parameter to be set in the config | Kim Alvefur | 2013-04-27 | 1 | -0/+1 | |
| | ||||||
* | net.server_event: Remove unused local | Kim Alvefur | 2013-03-01 | 1 | -1/+0 | |
| | ||||||
* | net.server_event: Optimize socket write buffers (don't do buf=buf..newdata). | Waqas Hussain | 2013-01-06 | 1 | -5/+9 | |
| | ||||||
* | net.server_event: Destroy interfaces immediately, fixes reopening of servers. | Kim Alvefur | 2012-12-28 | 1 | -8/+2 | |
| | ||||||
* | net.server_event: Remove comments about not closing event handlers from ↵ | Kim Alvefur | 2012-12-28 | 1 | -4/+3 | |
| | | | | within callbacks, fixed in luaevent | |||||
* | net.server_event: Replace usage of string.len() with # operator | Matthew Wild | 2012-07-26 | 1 | -2/+1 | |
| | ||||||
* | net.server_event: Don't emit empty packets, check for errors first. (fixes #287) | Kim Alvefur | 2012-07-25 | 1 | -4/+4 | |
| | ||||||
* | net.server_event: Remove unused variables and imports | Matthew Wild | 2012-07-22 | 1 | -9/+1 | |
| | ||||||
* | net.server_select, net.server_event: Change semantics of conn:close() - ↵ | Matthew Wild | 2012-07-22 | 1 | -8/+8 | |
| | | | | always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed) | |||||
* | net.server_event: Internal changes to get plain-SSL outgoing connections ↵ | Matthew Wild | 2012-05-24 | 1 | -3/+3 | |
| | | | | working (as for HTTPS) | |||||
* | net.server_event: Assume wrapclient() is taking a new connection, and call ↵ | Matthew Wild | 2012-05-24 | 1 | -1/+1 | |
| | | | | onconnect when appropriate (to match server_select) | |||||
* | net.server_event: Do not automatically close clients when closing a server port | Matthew Wild | 2012-04-24 | 1 | -16/+3 | |
| | ||||||
* | net.server_event: Fix :pause() to actually stop reading from the socket, ↵ | Matthew Wild | 2012-01-16 | 1 | -1/+8 | |
| | | | | rather than ignoring socket-readable events (!), and :resume() to restart the event listener | |||||
* | net.server_event, net.server_select: Fixed some global pollution. | Waqas Hussain | 2011-10-14 | 1 | -2/+2 | |
| | ||||||
* | net.server_event: Don't call listener.onincoming with data=nil when ↵ | Waqas Hussain | 2011-09-03 | 1 | -1/+0 | |
| | | | | listener.onconnect is missing. onincoming's arguments shall always be non-nil. | |||||
* | net.server_select, net.server_event: Silence 'error during ssl handshake' ↵ | Matthew Wild | 2011-01-11 | 1 | -1/+1 | |
| | | | | for wantread and wantwrite | |||||
* | net.server_event: Log interface and port number when binding fails | Matthew Wild | 2011-01-06 | 1 | -1/+1 | |
| | ||||||
* | net.server_event: API parity with net.server_socket | Paul Aurich | 2010-11-21 | 1 | -0/+4 | |
| | ||||||
* | net.server_select, net.server_event: Remove set_mode() call from ↵ | Matthew Wild | 2010-08-22 | 1 | -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) |