Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.10->trunk | Kim Alvefur | 2016-01-10 | 1 | -0/+3 |
|\ | |||||
| * | net.server_select: Add 'server' method to client connections (present in ↵ | Kim Alvefur | 2016-01-09 | 1 | -0/+3 |
| | | | | | | | | server_event) | ||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-01-04 | 1 | -2/+3 |
|\| | |||||
| * | server_select: Forward the actual TLS handshake error message | Kim Alvefur | 2016-01-03 | 1 | -2/+3 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-01-02 | 1 | -0/+1 |
|\| | |||||
| * | net.server_select: Close all connections when quitting (and not just ↵ | Matthew Wild | 2016-01-02 | 1 | -0/+1 |
| | | | | | | | | stepping), matches server_event | ||||
| * | 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,event}: Don't rely on LuaSocket and LuaSec being present ↵ | Kim Alvefur | 2015-02-23 | 1 | -5/+5 |
| | | | | | | | | in the globals table | ||||
* | | net.server_select: Remove unused code | daurnimator | 2015-01-19 | 1 | -6/+0 |
| | | |||||
* | | net.server_select: Remove socket.sleep call from main loop | daurnimator | 2015-01-19 | 1 | -8/+0 |
| | | | | | | | | | | | | It's been there since the start; but should really not be required. People can remember an issue with FreeBSD that this solved, but this was a hack solution anyway. If that issue rears it's head again, we will solve it properly. | ||||
* | | net.server_select: Remove do-nothing os_difftime calls | daurnimator | 2015-01-19 | 1 | -5/+3 |
| | | |||||
* | | net.server_select: In add_task timer callback, use passed in time rather ↵ | daurnimator | 2015-01-15 | 1 | -2/+1 |
| | | | | | | | | than re-fetching | ||||
* | | net.server_select: Fix timers not being fired until another timer fixes (or ↵ | daurnimator | 2015-01-15 | 1 | -16/+8 |
| | | | | | | | | 1 second passes) | ||||
* | | Move timer code out of util.timer and into relevant net.server backends | daurnimator | 2014-10-20 | 1 | -0/+46 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2014-10-05 | 1 | -0/+2 |
|\| | |||||
| * | net.server_select: Reset read timeout timer if the event is handled | Kim Alvefur | 2014-10-03 | 1 | -0/+2 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2014-09-28 | 1 | -0/+3 |
|\| | |||||
| * | net.server_select: When an SSL handshake is connected, if there is pending ↵ | Matthew Wild | 2014-09-26 | 1 | -0/+3 |
| | | | | | | | | data to be written to the socket, mark the socket as waiting to send (thanks daurnimator) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2014-09-02 | 1 | -0/+5 |
|\| | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2014-09-02 | 1 | -0/+5 |
| |\ | |||||
| | * | net.server_select: 'listener'->'listeners' (fixes undefined global access) | Matthew Wild | 2014-09-02 | 1 | -1/+1 |
| | | | |||||
| | * | net.server_{select,event}: Add 'ondetach' callback for listener objects, to ↵ | Matthew Wild | 2014-08-29 | 1 | -0/+5 |
| | | | | | | | | | | | | 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 | -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) |