Log

net/server_select.lua @ 12952:a668bc1aa39d

description author age
net.server: Fix multiple return values Kim Alvefur 2022-06-03
net.server_select: Restore dependency on LuaSec to soft for tests Kim Alvefur 2022-04-27
net: refactor sslconfig to not depend on LuaSec Jonas Schäfer 2022-04-02
net: isolate LuaSec-specifics Jonas Schäfer 2022-04-27
net.server: Add a predrain callaback just before writes Kim Alvefur 2021-08-16
Merge 0.11->trunk Matthew Wild 2020-09-15
net.server: Backport client parts of SNI support from trunk (#409) 0.11 Kim Alvefur 2020-08-17
net.server_select: Fix traceback (thanks eta) Kim Alvefur 2020-08-23
net.server_select: Pass conn/handler to readbuffer/sendbuffer Matthew Wild 2020-06-01
net.server_select: Ensure onconnect is always called before onincoming Matthew Wild 2020-06-01
net.server_select: Remove prefix added to TLS handshaker errors Kim Alvefur 2019-12-01
net.server: Handle server name (SNI) as extra argument Kim Alvefur 2019-08-31
net.server: Accept and save an 'extra' field for client connections Kim Alvefur 2019-08-31
Fix various spelling mistakes [codespell] Kim Alvefur 2019-05-03
net.server_select: Fix write pause/resume functions Kim Alvefur 2019-03-24
net.server: Only add alternate SNI contexts if at least one is provided Kim Alvefur 2019-03-11
net.server_select: SNI support (#409) Kim Alvefur 2019-03-10
net.server: New API for creating server listeners Kim Alvefur 2018-09-13
Merge 0.11->trunk Kim Alvefur 2018-11-18
net.server_select: Fix IP validation to use correct variable (thanks quest) 0.11 Kim Alvefur 2018-11-17
net.server: Add an API for holding writes of outgoing data Kim Alvefur 2018-10-25
net.server_select: Still allow buffering outgoing data on write-locked connections Kim Alvefur 2018-10-28
net.server_select: Replace use of deprecated :lock_read in server.link Kim Alvefur 2018-10-28
net.server_select: Deprecate :lock method Kim Alvefur 2018-10-28
server_select: Fix :lock method Kim Alvefur 2018-10-28
net.server_select: Move code from :lock_read into :pause and :resume Kim Alvefur 2018-10-28
net.server_select: Deprecate connection:lock_read() method Kim Alvefur 2018-10-28
net.server: Swich method for connecting sockets with remotes Kim Alvefur 2018-10-12
net.server: Remove socket constructor fallback Kim Alvefur 2018-10-12
net.server: Require IP address as argument to addclient (no DNS names) Kim Alvefur 2018-10-11
net.connect: Fix passing request table to new listener Kim Alvefur 2018-09-26
net.server: Call a 'onattach' callback when replacing listeners Kim Alvefur 2018-09-26
net.server: Set default read timeout to 14 minutes (fixes #971) Kim Alvefur 2018-07-06
net.server: Add watchfd, a simple API for watching file descriptors Kim Alvefur 2018-05-09
net.server_select: Allow setquitting("once") to allow resuming the loop later Matthew Wild 2018-04-10
Fix spelling throughout the codebase [codespell] Kim Alvefur 2018-02-04
net.server_select: Better detection of errors for outgoing connections Matthew Wild 2018-02-23
Merge 0.10->trunk Kim Alvefur 2016-11-26
Merge 0.9->0.10 Kim Alvefur 2016-11-24
net.server_select: Prevent writes after a handler is closed (fixes #783 I hope) Kim Alvefur 2016-11-22
Merge 0.10 -> trunk Matthew Wild 2016-07-28
net.server_select: remove unused import [luacheck] Anton Shestakov 2016-07-28
Merge 0.10->trunk Kim Alvefur 2016-07-14
net.server_select: remove unused one-letter loop variable [luacheck] Anton Shestakov 2016-07-14
Merge 0.10->trunk Kim Alvefur 2016-07-08
net.server_select: remove unused one-letter loop variables [luacheck] Anton Shestakov 2016-07-08
Merge 0.10->trunk Kim Alvefur 2016-03-29
net.server_select: Remove do-nothing os_difftime calls [backported from trunk] daurnimator 2015-01-19
Merge 0.10->trunk Kim Alvefur 2016-01-22
Merge 0.9->0.10 Kim Alvefur 2016-01-22
server_select: Add logging of when servers are paused and resumed Kim Alvefur 2016-01-22
server_select: Pause and mark server as full if accepting a client fails (fixes #597) Kim Alvefur 2016-01-22
server_select: Retry accepting clients from full servers after 10s (matches libevent behaviour) Kim Alvefur 2016-01-22
server_select: Keep track of which server listeners are full Kim Alvefur 2016-01-22
Merge 0.10->trunk Kim Alvefur 2016-01-10
net.server_select: Add 'server' method to client connections (present in server_event) Kim Alvefur 2016-01-09
Merge 0.10->trunk Matthew Wild 2016-01-04
server_select: Forward the actual TLS handshake error message Kim Alvefur 2016-01-03
Merge 0.10->trunk Matthew Wild 2016-01-02
net.server_select: Close all connections when quitting (and not just stepping), matches server_event Matthew Wild 2016-01-02
Merge 0.10->trunk Matthew Wild 2015-09-03
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) Kim Alvefur 2013-12-23
net.server_{select,event}: addclient: Add argument for overriding socket type Kim Alvefur 2013-12-23
net/server_select: Fix typo daurnimator 2013-12-18
net/server_select: addclient: Check arguments daurnimator 2013-12-18
net/server_select: addclient: Check for failure correctly; remove wrapconnection call on failure daurnimator 2013-12-18
net/server_select: Check arguments to add_server correctly daurnimator 2013-12-18
Merge 0.10->trunk Kim Alvefur 2015-08-20
net.server_{select,event}: Don't rely on LuaSocket and LuaSec being present in the globals table Kim Alvefur 2015-02-23
net.server_select: Remove unused code daurnimator 2015-01-19
net.server_select: Remove socket.sleep call from main loop daurnimator 2015-01-19
net.server_select: Remove do-nothing os_difftime calls daurnimator 2015-01-19
net.server_select: In add_task timer callback, use passed in time rather than re-fetching daurnimator 2015-01-15
net.server_select: Fix timers not being fired until another timer fixes (or 1 second passes) daurnimator 2015-01-15
Move timer code out of util.timer and into relevant net.server backends daurnimator 2014-10-20
Merge 0.10->trunk Kim Alvefur 2014-10-05
net.server_select: Reset read timeout timer if the event is handled Kim Alvefur 2014-10-03
Merge 0.10->trunk Kim Alvefur 2014-09-27
net.server_select: When an SSL handshake is connected, if there is pending data to be written to the socket, mark the socket as waiting to send (thanks daurnimator) Matthew Wild 2014-09-26
Merge 0.10->trunk Kim Alvefur 2014-09-02
Merge 0.9->0.10 Kim Alvefur 2014-09-02
net.server_select: 'listener'->'listeners' (fixes undefined global access) Matthew Wild 2014-09-02
net.server_{select,event}: Add 'ondetach' callback for listener objects, to notify them when another listener is being assigned to a connection Matthew Wild 2014-08-29
Merge 0.10->trunk Matthew Wild 2014-07-25
Merge 0.9->0.10 Matthew Wild 2014-07-25
net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data Matthew Wild 2014-07-25
net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY instead of EINPROGRESS when the dns lookup has multiple results daurnimator 2014-06-25
Merge 0.10->trunk Matthew Wild 2014-04-02
Merge 0.9->0.10 Matthew Wild 2014-04-02
net.server_{select,event}: Add compat code for supporting the same client port API on connections Kim Alvefur 2014-04-01
net.server_{select,event}: addclient: Handle missing getaddrinfo Kim Alvefur 2013-12-23
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) Kim Alvefur 2013-12-23
net.server_{select,event}: addclient: Add argument for overriding socket type Kim Alvefur 2013-12-23
net/server_select: Fix typo daurnimator 2013-12-18
net/server_select: addclient: Check arguments daurnimator 2013-12-18
net/server_select: addclient: Check for failure correctly; remove wrapconnection call on failure daurnimator 2013-12-18
net/server_select: Check arguments to add_server correctly daurnimator 2013-12-18
net/server_select: pcall require ssl (easy to forget to require ssl) daurnimator 2013-12-18
Merge 0.9->0.10 Matthew Wild 2013-12-16
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) Matthew Wild 2013-12-16
server_select: fix onreadtimeout support so that listeners can override the default (disconnect) behaviour Matthew Wild 2013-09-28
net.server_select: Return handler from addclient Kim Alvefur 2013-09-06
net.server_select: Pass on all arguments to addclient on to wrapclient Kim Alvefur 2013-09-06
Remove all trailing whitespace Florian Zeitz 2013-08-09
Merge 0.9->trunk Kim Alvefur 2013-06-09
net.server_select: Make sure there is a server to pause when hitting maxfd (Thanks elghinn) Kim Alvefur 2013-06-09
Merge 0.9->trunk Matthew Wild 2013-06-05
net.server_select: Ensure _maxfd = math.huge on Windows, always. Waqas Hussain 2013-06-02
net.server_select: Default checkinterval to 30s, so that read timeouts are actually detected Matthew Wild 2013-05-24
net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6] Matthew Wild 2013-05-24
net.server_select: Don't limit max file descriptor number on Windows. Waqas Hussain 2013-04-29
net.server*: Allow the TCP backlog parameter to be set in the config Kim Alvefur 2013-04-27
net.server_select: Don't call onconnect twice for SSL connections Matthew Wild 2013-04-17
Merge backout Matthew Wild 2013-04-17
Backed out changeset f2631a14b953 Matthew Wild 2013-04-17
net.server_select: Add and improve some comments. Waqas Hussain 2013-04-16
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). Waqas Hussain 2013-04-16
net.server_select: Normalize indentation Kim Alvefur 2013-04-17
net.server_select: Don't call onconnect twice on SSL connections Kim Alvefur 2013-04-17
net.server, _select: Reorganise configuration of server_select to be more like server_event Kim Alvefur 2013-03-23