Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | -12/+16 |
| |\ \ | | |/ | |/| | |||||
| * | | net.server_{select,event}: Add compat code for supporting the same client ↵ | Kim Alvefur | 2014-04-01 | 1 | -0/+1 |
| | | | | | | | | | | | | port API on connections | ||||
* | | | 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/+9 |
| | | | | | | | | | | | | 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_select: Fix typo | daurnimator | 2013-12-18 | 1 | -1/+1 |
| | | | |||||
* | | | net/server_select: addclient: Check arguments | daurnimator | 2013-12-18 | 1 | -0/+15 |
| | | | |||||
* | | | net/server_select: addclient: Check for failure correctly; remove ↵ | daurnimator | 2013-12-18 | 1 | -3/+3 |
| | | | | | | | | | | | | wrapconnection call on failure | ||||
* | | | net/server_select: Check arguments to add_server correctly | daurnimator | 2013-12-18 | 1 | -3/+4 |
| | | | |||||
* | | | net/server_select: pcall require ssl (easy to forget to require ssl) | daurnimator | 2013-12-18 | 1 | -5/+5 |
| |/ |/| | |||||
* | | Merge 0.9->0.10 | Matthew Wild | 2013-12-16 | 1 | -5/+1 |
|\| | |||||
| * | net.server_select: Don't remove the socket from sendlist when we might have ↵ | Matthew Wild | 2013-12-16 | 1 | -5/+1 |
| | | | | | | | | data in the buffer (we'll now let sendbuffer() take care of that) (thanks daurnimator) | ||||
* | | server_select: fix onreadtimeout support so that listeners can override the ↵ | Matthew Wild | 2013-09-28 | 1 | -0/+4 |
| | | | | | | | | default (disconnect) behaviour | ||||
* | | net.server_select: Return handler from addclient | Kim Alvefur | 2013-09-06 | 1 | -2/+2 |
| | | |||||
* | | net.server_select: Pass on all arguments to addclient on to wrapclient | Kim Alvefur | 2013-09-06 | 1 | -1/+1 |
| | | |||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -5/+5 |
| | | |||||
* | | Merge 0.9->trunk | Kim Alvefur | 2013-06-09 | 1 | -1/+3 |
|\| | |||||
| * | net.server_select: Make sure there is a server to pause when hitting maxfd ↵ | Kim Alvefur | 2013-06-09 | 1 | -1/+3 |
| | | | | | | | | (Thanks elghinn) | ||||
* | | Merge 0.9->trunk | Matthew Wild | 2013-06-05 | 1 | -1/+1 |
|\| | |||||
| * | net.server_select: Ensure _maxfd = math.huge on Windows, always. | Waqas Hussain | 2013-06-02 | 1 | -1/+1 |
| | | |||||
* | | net.server_select: Default checkinterval to 30s, so that read timeouts are ↵ | Matthew Wild | 2013-05-24 | 1 | -1/+1 |
| | | | | | | | | actually detected | ||||
* | | net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6] | Matthew Wild | 2013-05-24 | 1 | -4/+4 |
|/ | |||||
* | net.server_select: Don't limit max file descriptor number on Windows. | Waqas Hussain | 2013-04-29 | 1 | -1/+2 |
| | |||||
* | net.server*: Allow the TCP backlog parameter to be set in the config | Kim Alvefur | 2013-04-27 | 1 | -2/+6 |
| | |||||
* | net.server_select: Don't call onconnect twice for SSL connections | Matthew Wild | 2013-04-18 | 1 | -1/+1 |
| | |||||
* | Merge backout | Matthew Wild | 2013-04-18 | 1 | -0/+3 |
|\ | |||||
| * | Backed out changeset f2631a14b953 | Matthew Wild | 2013-04-18 | 1 | -0/+3 |
| | | |||||
* | | net.server_select: Add and improve some comments. | Waqas Hussain | 2013-04-16 | 1 | -2/+5 |
| | | |||||
* | | net.server_select: Move socket timeout cleanup code out of a timer, into the ↵ | Waqas Hussain | 2013-04-16 | 1 | -22/+20 |
| | | | | | | | | select loop (which makes util.timer the only timer using server_select._addtimer). | ||||
* | | net.server_select: Normalize indentation | Kim Alvefur | 2013-04-17 | 1 | -6/+6 |
|/ | |||||
* | net.server_select: Don't call onconnect twice on SSL connections | Kim Alvefur | 2013-04-17 | 1 | -3/+0 |
| | |||||
* | net.server, _select: Reorganise configuration of server_select to be more ↵ | Kim Alvefur | 2013-03-23 | 1 | -1/+12 |
| | | | | like server_event | ||||
* | net.server_select: Optimization, clean bufferqueue when it makes sense. | Kim Alvefur | 2013-03-01 | 1 | -16/+5 |
| | |||||
* | net.server_select: Use # operator instead of string.len | Kim Alvefur | 2013-03-01 | 1 | -3/+2 |
| | |||||
* | net.server_select: Limit global number of sockets passed to select. | Kim Alvefur | 2013-02-12 | 1 | -9/+23 |
| | |||||
* | net.server_select: Be less aggressive about server pause | Kim Alvefur | 2013-02-12 | 1 | -8/+11 |
| | |||||
* | net.server_select: Remove useless duplicated settimeout() call | Kim Alvefur | 2013-01-07 | 1 | -1/+0 |
| | |||||
* | net.server_select: Fix global access | Kim Alvefur | 2013-01-07 | 1 | -0/+1 |
| | |||||
* | net.server_select: Pause servers while they are full | Kim Alvefur | 2012-12-28 | 1 | -0/+4 |
| | |||||
* | net.server_select: Add pause and resume methods | Kim Alvefur | 2012-12-28 | 1 | -0/+19 |
| | |||||
* | net.server_select: Better names for config options (thanks MattJ) | Kim Alvefur | 2012-11-23 | 1 | -10/+10 |
| | |||||
* | net.server_select: Remove unused variables and imports | Matthew Wild | 2012-07-22 | 1 | -5/+0 |
| | |||||
* | net.server_select: Remove extraneous variable | Matthew Wild | 2012-07-22 | 1 | -1/+0 |
| | |||||
* | net.server_select: Never call ondisconnect() directly, go via ↵ | Matthew Wild | 2012-07-22 | 1 | -14/+11 |
| | | | | handler:close() or handler:force_close() - fixes cases where ondisconnect() could be called multiple times for the same connection, leading to issues with s2sout retry logic. | ||||
* | net.server_select, net.server_event: Change semantics of conn:close() - ↵ | Matthew Wild | 2012-07-22 | 1 | -18/+24 |
| | | | | always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed) |