Log

net/server_epoll.lua @ 9023:ce461a67d2cc

description author age
net.server: Set default read timeout to 14 minutes (fixes #971) Kim Alvefur Fri, 06 Jul 2018 19:02:19 +0200
net.server: Add watchfd, a simple API for watching file descriptors Kim Alvefur Wed, 09 May 2018 16:15:40 +0200
net.server_epoll: Guard against connection missing the getpeername method (thanks LuaSec) Kim Alvefur Wed, 02 May 2018 19:29:31 +0200
net.server_epoll: Retry retrieving peername once connected Kim Alvefur Wed, 02 May 2018 19:20:57 +0200
net.server_epoll: Handle connection being closed and destroyed in onconnect callback Kim Alvefur Wed, 02 May 2018 19:20:29 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
server_epoll: Onconnect should happen before first attempt to write to socket Kim Alvefur Mon, 26 Feb 2018 18:31:27 +0100
net.server_epoll: Spelling writeable -> writable Kim Alvefur Sat, 24 Feb 2018 14:39:36 +0100
net.server_epoll: Remove special casing for having sent an empty write buffer because the wantwrite flag must be unset regardless Kim Alvefur Sat, 24 Feb 2018 14:36:44 +0100
net.server_epoll: Call onconnect listener on first successful read or write Kim Alvefur Sat, 24 Feb 2018 13:46:16 +0100
server_epoll: Restore mark on connections which had the onconnect handler called so it is only done once Kim Alvefur Sat, 03 Feb 2018 17:36:55 +0100
server_epoll: Rework how socket readyness is detected Kim Alvefur Fri, 02 Feb 2018 23:46:00 +0100
net.server_epoll: Add interface:server() method to match server_event (fixes c2s:show traceback in telnet console) Kim Alvefur Fri, 29 Sep 2017 10:50:27 +0200
net.server_epoll: Reset onwritable before calling onconnect (fixes traceback if connection closed in onconnect) Kim Alvefur Sun, 16 Apr 2017 02:36:42 +0200
net.server_epoll: Attempt to simplify state control Kim Alvefur Mon, 27 Mar 2017 04:30:48 +0200
net.server_epoll: Check write buffer for remaining data to write when closing Kim Alvefur Mon, 27 Mar 2017 03:41:24 +0200
net.server_epoll: Log if there's a connection without listeners Kim Alvefur Mon, 27 Mar 2017 03:40:24 +0200
net.server_epoll: Add method for changing read pattern Kim Alvefur Sat, 25 Feb 2017 17:41:39 +0100
net.server_epoll: Reuse interface metatable for event compat layer Kim Alvefur Fri, 06 Jan 2017 17:01:48 +0100
net.server_epoll: Fix traceback if wrapclient called without a pattern or parent server Kim Alvefur Thu, 05 Jan 2017 06:21:31 +0100
server_epoll: Add some comments describing some functions Kim Alvefur Sun, 01 Jan 2017 19:42:12 +0100
server_epoll: Ignore unused loop variable [luacheck] Kim Alvefur Sun, 01 Jan 2017 19:41:03 +0100
server_epoll: Flush and close all connections before quitting mainloop so no data is lost in buffers Kim Alvefur Sun, 01 Jan 2017 19:34:18 +0100
server_epoll: Handle the argument to setquitting like server_select Kim Alvefur Sun, 01 Jan 2017 19:33:38 +0100
net.server_epoll: Add the 'once' argument to loop for parity with server_select Kim Alvefur Sun, 01 Jan 2017 19:32:54 +0100
server_epoll: Add closeall() method for closing all clients and servers Kim Alvefur Sun, 01 Jan 2017 19:30:38 +0100
net.server_epoll: Use _SOCKETINVALID from LuaSocket Kim Alvefur Wed, 23 Nov 2016 17:27:44 +0100
net.server_epoll: Make sure socket exists before checking if there is buffered data in it Kim Alvefur Thu, 27 Oct 2016 23:19:30 +0200
net.server_epoll: Check that connection still exists after callback, fixes traceback when closed Kim Alvefur Sun, 09 Oct 2016 21:48:53 +0200
net.server_epoll: Separate ok from err branch more Kim Alvefur Fri, 07 Oct 2016 17:18:29 +0200
net.server_epoll: Make minimum poll wait time configurable Kim Alvefur Sun, 04 Sep 2016 17:17:22 +0200
net.server_epoll: Support for setting configuration parameters Kim Alvefur Sun, 04 Sep 2016 17:16:46 +0200
net.server_epoll: More comments Kim Alvefur Sat, 27 Aug 2016 18:39:23 +0200
net.server_epoll: Remove commented out code Kim Alvefur Tue, 23 Aug 2016 20:31:14 +0200
net.server_epoll: Return early in the event of zero timers Kim Alvefur Tue, 23 Aug 2016 20:01:02 +0200
net.server_epoll: Fix timer returning boolean Kim Alvefur Tue, 23 Aug 2016 19:23:26 +0200
net.server_epoll: Let :init handle setup for onconnect handling Kim Alvefur Mon, 22 Aug 2016 17:22:34 +0200
net.server_epoll: Tailcalls Kim Alvefur Mon, 22 Aug 2016 17:20:54 +0200
net.server_epoll: Move management of fd registry to :setflags Kim Alvefur Mon, 22 Aug 2016 17:19:49 +0200
net.server_epoll: Comments Kim Alvefur Mon, 22 Aug 2016 17:13:39 +0200
net.server_epoll: Make maximum wait time configurable Kim Alvefur Mon, 22 Aug 2016 17:12:58 +0200
net.server_epoll: Set timers before calling onincoming, fixes traceback if connection is closed before onincoming returns Kim Alvefur Thu, 18 Aug 2016 17:41:00 +0200
net.server_epoll: Call ondetach when listeners are replaced Kim Alvefur Thu, 18 Aug 2016 17:23:06 +0200
net.server_epoll: Make sure wantwrite is set when starting TLS Kim Alvefur Thu, 18 Aug 2016 17:17:16 +0200
net.server_epoll: Prevent invalid FDs from being added to epoll Kim Alvefur Thu, 18 Aug 2016 17:16:21 +0200
net.server_epoll: Make sure a recent LuaSocket is avaliable Kim Alvefur Thu, 18 Aug 2016 17:15:52 +0200
net.server_epoll: Trigger onconnect for TLS connections when writable after handshake Kim Alvefur Thu, 18 Aug 2016 17:15:32 +0200
net.server_epoll: Add separate timout for initial connection Kim Alvefur Thu, 18 Aug 2016 17:13:22 +0200
net.server_epoll: TLS handshake timeout Kim Alvefur Thu, 18 Aug 2016 17:07:14 +0200
net.server_epoll: Refactor to use common initialization Kim Alvefur Thu, 18 Aug 2016 16:59:31 +0200
net.server_epoll: Connect async in addclient Kim Alvefur Thu, 18 Aug 2016 17:04:57 +0200
net.server_epoll: Return status from starttls method Kim Alvefur Thu, 18 Aug 2016 16:48:16 +0200
net.server_epoll: Prevent anything from happening to destroyed sockets Kim Alvefur Thu, 18 Aug 2016 16:46:20 +0200
net.server_epoll: Prevent further writing after closing a socket Kim Alvefur Thu, 18 Aug 2016 16:41:22 +0200
net.server_epoll: Additional logging of connects and TLS Kim Alvefur Thu, 18 Aug 2016 16:33:12 +0200
net.server_epoll: Improve syntax Kim Alvefur Thu, 18 Aug 2016 16:28:08 +0200
net.server_epoll: Remove read timeout when waiting to read more from buffer Kim Alvefur Thu, 18 Aug 2016 16:12:28 +0200
net.server_epoll: Return early on successful write Kim Alvefur Thu, 18 Aug 2016 16:06:18 +0200
net.server_epoll: Don't call ondrain when connection is to be closed Kim Alvefur Thu, 18 Aug 2016 16:05:18 +0200
net.server_epoll: Comment some overly verbose logging Kim Alvefur Thu, 18 Aug 2016 16:02:20 +0200
net.server_epoll: Return something as FD when no connection exists Kim Alvefur Thu, 18 Aug 2016 16:00:51 +0200
net.server_epoll: Improve string representation of connections Kim Alvefur Thu, 18 Aug 2016 15:57:22 +0200
net.server_epoll: Collect and expose local and remote address and ports Kim Alvefur Thu, 18 Aug 2016 15:55:50 +0200
net.server_epoll: Call callbacks through common method in protected mode Kim Alvefur Thu, 18 Aug 2016 15:50:18 +0200
net.server_epoll: Fix missing quotes in logging call Kim Alvefur Thu, 18 Aug 2016 02:30:49 +0200
net.server_epoll: Add some comments Kim Alvefur Thu, 18 Aug 2016 01:52:18 +0200
net.server_epoll: Clear write flag before calling ondrain, fixes calling of ondisconnect on explicit close Kim Alvefur Tue, 16 Aug 2016 14:53:29 +0200
net.server_epoll: Wrap calling of ondisconnect listener in additional indirection Kim Alvefur Sun, 14 Aug 2016 01:09:55 +0200
net.server_epoll: Continue reading after a slight delay if there is buffered data after a read Kim Alvefur Fri, 12 Aug 2016 01:13:26 +0200
net.server_epoll: Replace any previous pausefor timer Kim Alvefur Fri, 12 Aug 2016 01:11:59 +0200
net.server_epoll: Fix calculation of next timer event Kim Alvefur Fri, 12 Aug 2016 00:25:19 +0200
net.server_epoll: Don't mistake success for an error Kim Alvefur Thu, 11 Aug 2016 22:49:26 +0200
net.server_epoll: Make addclient conform to API (expected by net.http.request) Kim Alvefur Wed, 10 Aug 2016 21:11:09 +0200
net.server_epoll: Some logging when closing a connection Kim Alvefur Wed, 10 Aug 2016 21:10:17 +0200
net.server_epoll: Use first writable event to signal onconnect Kim Alvefur Wed, 10 Aug 2016 20:59:54 +0200
net.server_epoll: Make addclient use wrapclient Kim Alvefur Wed, 10 Aug 2016 20:57:05 +0200
net.server_epoll: Log epoll_ctl() calls and return values Kim Alvefur Wed, 10 Aug 2016 20:55:31 +0200
net.server_epoll: Rename arguments and varibles for consistensy Kim Alvefur Wed, 10 Aug 2016 20:55:07 +0200
net.server_epoll: Remove last traces of code for bypassing buffering on writable sockets Kim Alvefur Wed, 10 Aug 2016 20:47:40 +0200
net.server_epoll: New experimental server backend Kim Alvefur Wed, 10 Aug 2016 16:57:16 +0200