Log

net/server_epoll.lua @ 9855:6c2370f17027

description author age
net.server_epoll: Optimize timer handling Kim Alvefur Tue, 12 Mar 2019 23:13:51 +0100
net.server: Only add alternate SNI contexts if at least one is provided Kim Alvefur Mon, 11 Mar 2019 13:00:51 +0100
net.server_epoll: Add support for SNI (#409) Kim Alvefur Sun, 10 Mar 2019 19:35:34 +0100
net.server: New API for creating server listeners Kim Alvefur Thu, 13 Sep 2018 21:16:37 +0200
net.server_epoll: Increase send_timeout to 3 minutes (to match server_event) Kim Alvefur Sat, 09 Feb 2019 20:54:35 +0100
net.server_epoll: Separate timeout for initial connection attempts Kim Alvefur Sat, 09 Feb 2019 20:34:00 +0100
Merge 0.11->trunk Kim Alvefur Sat, 09 Feb 2019 19:36:35 +0100
net.server_epoll: Rename handshake_timeout to ssl_handshake_timeout (fixes #1319) 0.11 Kim Alvefur Sat, 09 Feb 2019 19:28:24 +0100
net.server_epoll: Use send_timeout for write timout like other implementations (fixes #1316) 0.11 Kim Alvefur Thu, 07 Feb 2019 14:02:15 +0100
net.server_epoll: Bail on callback error Kim Alvefur Sat, 08 Dec 2018 21:28:48 +0100
net.server_epoll: Call onconnect right after accept()ing a new client Kim Alvefur Sat, 08 Dec 2018 21:17:39 +0100
Merge 0.11->trunk Kim Alvefur Fri, 30 Nov 2018 19:43:12 +0100
server_epoll: Add comments describing config options 0.11 Kim Alvefur Fri, 30 Nov 2018 19:40:39 +0100
net.server_epoll: Remove unused config option 0.11 Kim Alvefur Fri, 30 Nov 2018 18:23:43 +0100
server_epoll: Increase write timeout 0.11 Kim Alvefur Fri, 30 Nov 2018 18:11:36 +0100
net.server_epoll: Use method to update peername on connect Kim Alvefur Mon, 29 Oct 2018 02:13:09 +0100
net.server_epoll: Reschedule delayed timers relative to current time Kim Alvefur Sun, 28 Oct 2018 18:22:17 +0100
net.server: Add an API for holding writes of outgoing data Kim Alvefur Thu, 25 Oct 2018 15:12:59 +0200
net.server_epoll: Shuffle variables earlier to improve readability Kim Alvefur Sat, 27 Oct 2018 20:44:53 +0200
net.server_epoll: Special handling of signal interrupts Kim Alvefur Fri, 12 Oct 2018 03:22:09 +0200
net.server_epoll: Ignore ENOENT when deregitering socket Kim Alvefur Fri, 12 Oct 2018 03:21:11 +0200
net.server_epoll: Graceful handling of registering already added socket Kim Alvefur Fri, 12 Oct 2018 03:20:09 +0200
net.server: Swich method for connecting sockets with remotes Kim Alvefur Fri, 12 Oct 2018 17:36:34 +0200
net.server_epoll: Check return conditions of early socket setup Kim Alvefur Fri, 12 Oct 2018 17:28:08 +0200
net.server_epoll: Add support for the conn_type argument to addclient Kim Alvefur Fri, 12 Oct 2018 16:26:19 +0200
net.server_epoll: Assert successful creation of util.poll handle Kim Alvefur Thu, 11 Oct 2018 18:53:15 +0200
net.server_epoll: Update copyright year Kim Alvefur Thu, 11 Oct 2018 17:01:45 +0200
net.server: Require IP address as argument to addclient (no DNS names) Kim Alvefur Thu, 11 Oct 2018 15:48:30 +0200
net.server_epoll: Log error number from wait() Kim Alvefur Sun, 07 Oct 2018 17:40:13 +0200
net.server_epoll: Pass error number to logging Kim Alvefur Sat, 06 Oct 2018 18:50:30 +0200
net.server_epoll: Fix luacheck annotation Kim Alvefur Sat, 06 Oct 2018 17:59:23 +0200
net.server_epoll: Make :set_send a noop, should fix net.adns Kim Alvefur Sat, 06 Oct 2018 17:50:41 +0200
net.server_epoll: Inherit Direct TLS flag from servers to their clients Kim Alvefur Fri, 14 Sep 2018 01:31:58 +0200
net.server_epoll: Catch errors from luasec.wrap Kim Alvefur Fri, 14 Sep 2018 01:31:26 +0200
net.server_epoll: Delay wrapping sockets in TLS until just before first handshake Kim Alvefur Fri, 14 Sep 2018 01:34:38 +0200
net.connect: Fix passing request table to new listener Kim Alvefur Wed, 26 Sep 2018 17:36:53 +0200
net.server: Call a 'onattach' callback when replacing listeners Kim Alvefur Wed, 26 Sep 2018 14:25:59 +0200
net.server_epoll: Include errno in log messages Kim Alvefur Wed, 26 Sep 2018 14:57:09 +0200
net.server_epoll: Factor out IP/port detection into its own method Kim Alvefur Wed, 26 Sep 2018 13:53:18 +0200
net.server_epoll: Protect from errors in get{peer,sock}name Kim Alvefur Wed, 26 Sep 2018 13:52:10 +0200
net.server_epoll: Watching instead of registering, seems more understandable Kim Alvefur Mon, 24 Sep 2018 19:47:53 +0200
net.server_epoll: Simplify minimal string representation Kim Alvefur Sat, 15 Sep 2018 14:27:38 +0200
net.server_epoll: Add back setflags API for compat Kim Alvefur Sat, 15 Sep 2018 14:24:09 +0200
net.server_epoll: Fix write signal handling in watchfd API Kim Alvefur Sat, 15 Sep 2018 14:20:01 +0200
net.server_epoll: Use util.poll Kim Alvefur Wed, 16 May 2018 23:57:09 +0200
net.server_epoll: Make read_size a server-wide option Kim Alvefur Thu, 13 Sep 2018 21:09:55 +0200
net.server_epoll: Rename pattern to read_size Kim Alvefur Thu, 13 Sep 2018 21:07:44 +0200
net.server_epoll: Refactor Direct TLS assumptions outwards Kim Alvefur Thu, 13 Sep 2018 20:37:43 +0200
net.server_epoll: Factor Direct TLS handling out of connection initialization Kim Alvefur Thu, 13 Sep 2018 17:28:50 +0200
net.server_epoll: Remove coercion of connections to strings Kim Alvefur Thu, 13 Sep 2018 17:02:26 +0200
net.server_epoll: Rename all variables holding TLS contexts for consistency Kim Alvefur Thu, 13 Sep 2018 16:50:23 +0200
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