Commit Graph

190 Commits (052d497dee0ee5b112d3ffb266023d6f24898f38)

Author SHA1 Message Date
Kim Alvefur cf7efc33b2 net.server_{select,event}: Add compat code for supporting the same client port API on connections 12 years ago
Kim Alvefur 195743afe0 net.server_{select,event}: addclient: Handle missing getaddrinfo 12 years ago
Kim Alvefur 24056ae3ad net.server_{select,event}: addclient: Use getaddrinfo to detect IP address type if no socket type argument given. (Argument must be given for non-TCP) 12 years ago
Kim Alvefur cf48e76e78 net.server_{select,event}: addclient: Use getaddrinfo to detect IP address type if no socket type argument given. (Argument must be given for non-TCP) 12 years ago
Kim Alvefur ae81ea6eda net.server_{select,event}: addclient: Add argument for overriding socket type 12 years ago
Kim Alvefur 3e156487cf net.server_{select,event}: addclient: Add argument for overriding socket type 12 years ago
daurnimator 62ce3bb708 net/server_select: Fix typo 12 years ago
daurnimator ca6af8e2cf net/server_select: addclient: Check arguments 12 years ago
daurnimator 32b5b56170 net/server_select: addclient: Check for failure correctly; remove wrapconnection call on failure 12 years ago
daurnimator 0d4d70c625 net/server_select: Fix typo 12 years ago
daurnimator 216b5fd851 net/server_select: addclient: Check arguments 12 years ago
daurnimator e5e8cfdccf net/server_select: addclient: Check for failure correctly; remove wrapconnection call on failure 12 years ago
daurnimator c8183e6655 net/server_select: Check arguments to add_server correctly 12 years ago
daurnimator 1bdf48e7d2 net/server_select: Check arguments to add_server correctly 12 years ago
daurnimator a3c709b756 net/server_select: pcall require ssl (easy to forget to require ssl) 12 years ago
Matthew Wild e204ed5dce net.server_select: Don't remove the socket from sendlist when we might have data in the buffer (we'll now let sendbuffer() take care of that) (thanks daurnimator) 12 years ago
Matthew Wild 6802ee7563 server_select: fix onreadtimeout support so that listeners can override the default (disconnect) behaviour 12 years ago
Kim Alvefur 314c9eec90 net.server_select: Return handler from addclient 13 years ago
Kim Alvefur 5129829bbf net.server_select: Pass on all arguments to addclient on to wrapclient 13 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Kim Alvefur 4675a091eb net.server_select: Make sure there is a server to pause when hitting maxfd (Thanks elghinn) 13 years ago
Waqas Hussain 216ded22c8 net.server_select: Ensure _maxfd = math.huge on Windows, always. 13 years ago
Matthew Wild 8c7ccc0368 net.server_select: Default checkinterval to 30s, so that read timeouts are actually detected 13 years ago
Matthew Wild b5eff9a901 net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6] 13 years ago
Waqas Hussain e7ac57cac6 net.server_select: Don't limit max file descriptor number on Windows. 13 years ago
Kim Alvefur a7340fef1c net.server*: Allow the TCP backlog parameter to be set in the config 13 years ago
Matthew Wild 1da2e8a43e net.server_select: Don't call onconnect twice for SSL connections 13 years ago
Matthew Wild e6c2af23eb Backed out changeset f2631a14b953 13 years ago
Kim Alvefur 012519b6ad net.server_select: Don't call onconnect twice on SSL connections 13 years ago
Waqas Hussain fa54448b7a net.server_select: Add and improve some comments. 13 years ago
Waqas Hussain 107fcdf36a net.server_select: Move socket timeout cleanup code out of a timer, into the select loop (which makes util.timer the only timer using server_select._addtimer). 13 years ago
Kim Alvefur de11909b74 net.server_select: Normalize indentation 13 years ago
Kim Alvefur 39acad1765 net.server, _select: Reorganise configuration of server_select to be more like server_event 13 years ago
Kim Alvefur c1ca70e310 net.server_select: Optimization, clean bufferqueue when it makes sense. 13 years ago
Kim Alvefur 35a4031ce4 net.server_select: Use # operator instead of string.len 13 years ago
Kim Alvefur 4e9061b326 net.server_select: Limit global number of sockets passed to select. 13 years ago
Kim Alvefur 380d2bd865 net.server_select: Be less aggressive about server pause 13 years ago
Kim Alvefur bea132059b net.server_select: Remove useless duplicated settimeout() call 13 years ago
Kim Alvefur 65a2b43b0d net.server_select: Fix global access 13 years ago
Kim Alvefur de47f7e836 net.server_select: Pause servers while they are full 13 years ago
Kim Alvefur f2af550531 net.server_select: Add pause and resume methods 13 years ago
Kim Alvefur c3fe715df7 net.server_select: Better names for config options (thanks MattJ) 13 years ago
Kim Alvefur e8f72c6d4f net.server_select: Fix write pause/resume functions 7 years ago
Kim Alvefur 5d2608e150 net.server: Only add alternate SNI contexts if at least one is provided 7 years ago
Kim Alvefur 5fb7d2d35a net.server_select: SNI support (#409) 7 years ago
Kim Alvefur 3cb132326d net.server: New API for creating server listeners 7 years ago
Kim Alvefur 3899c7ac4b net.server: Add an API for holding writes of outgoing data 7 years ago
Kim Alvefur 5834d45f48 net.server_select: Still allow buffering outgoing data on write-locked connections 7 years ago
Kim Alvefur 556eddb791 net.server_select: Replace use of deprecated :lock_read in server.link 7 years ago
Kim Alvefur 55e3a7a8aa net.server_select: Deprecate :lock method 7 years ago