Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.10->trunk | Kim Alvefur | 2014-06-30 | 2 | -1/+9 |
|\ | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2014-06-30 | 2 | -1/+9 |
| |\ | |||||
| | * | net.dns: Fix duplicated cache insertions by limiting outstanding queries per ↵ | Kim Alvefur | 2014-06-30 | 1 | -1/+8 |
| | | | | | | | | | | | | name to one | ||||
| | * | net.adns: Add missing local declaration | Kim Alvefur | 2014-06-25 | 1 | -0/+1 |
| | | | |||||
* | | | net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY ↵ | daurnimator | 2014-06-25 | 2 | -2/+2 |
| | | | | | | | | | | | | instead of EINPROGRESS when the dns lookup has multiple results | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2014-04-15 | 1 | -4/+3 |
|\| | | |||||
| * | | net.http.server: Fix some typos introduced in 420c0d3b8583. | Daurnimator | 2014-04-15 | 1 | -4/+3 |
| | | | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2014-04-15 | 1 | -9/+17 |
|\| | | |||||
| * | | net.http.server: Add prepare_header() and finish_response() to allow sending ↵ | Daurnimator | 2014-04-15 | 1 | -9/+17 |
| | | | | | | | | | | | | chunked responses via the API | ||||
* | | | Merge 0.10->trunk | Matthew Wild | 2014-04-02 | 2 | -0/+2 |
|\| | | |||||
| * | | Merge 0.9->0.10 | Matthew Wild | 2014-04-02 | 7 | -119/+133 |
| |\ \ | | |/ | |/| | |||||
| * | | net.server_{select,event}: Add compat code for supporting the same client ↵ | Kim Alvefur | 2014-04-01 | 2 | -0/+2 |
| | | | | | | | | | | | | 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 | 2 | -8/+4 |
| | | | |||||
* | | | net.server_{select,event}: addclient: Use getaddrinfo to detect IP address ↵ | Kim Alvefur | 2013-12-23 | 2 | -2/+17 |
| | | | | | | | | | | | | 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 | 2 | -6/+22 |
| | | | |||||
* | | | net/http: Use server.addclient | daurnimator | 2013-12-18 | 1 | -11/+6 |
| | | | |||||
* | | | 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_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_event: add_client should have same arguments no-matter the server ↵ | daurnimator | 2013-12-18 | 1 | -21/+6 |
| | | | | | | | | | | | | backend | ||||
* | | | 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 | 2 | -6/+3 |
|\| | |||||
| * | 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) | ||||
| * | net.http: assert() for socket creation success so it doesn't silently fail ↵ | Matthew Wild | 2013-12-16 | 1 | -1/+2 |
| | | | | | | | | (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 | 7 | -57/+57 |
| | | |||||
* | | Merge 0.9->trunk | Kim Alvefur | 2013-07-22 | 2 | -1/+2 |
|\| | |||||
| * | net.server_event: Pass ondrain handler from listener | Kim Alvefur | 2013-07-22 | 1 | -0/+1 |
| | | |||||
| * | net.http.server: Fix Keep-Alive requests with HTTP 1.0 | Kim Alvefur | 2013-07-22 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.9->trunk | Kim Alvefur | 2013-07-10 | 2 | -3/+3 |
|\| | |||||
| * | net.dns, net.adns: Make sure errors from net.server are propagated (thanks ↵ | Kim Alvefur | 2013-07-10 | 2 | -3/+3 |
| | | | | | | | | asterix) | ||||
* | | Merge 0.9->trunk | Matthew Wild | 2013-06-26 | 1 | -4/+13 |
|\| | |||||
| * | net.http: Include port number (when non-standard) in the Host header of ↵ | Matthew Wild | 2013-06-26 | 1 | -4/+13 |
| | | | | | | | | outgoing requests, as per the HTTP RFC | ||||
* | | net.dns: Support IPv6 addresses in resolv.conf | Florian Zeitz | 2013-06-18 | 1 | -6/+13 |
| | | |||||
* | | 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_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.dns: Add nicer API to cached records | Kim Alvefur | 2013-05-07 | 1 | -0/+4 |
| | |||||
* | net.server_select: Don't limit max file descriptor number on Windows. | Waqas Hussain | 2013-04-29 | 1 | -1/+2 |
| |