Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 17:36:34 +0200] rev 9502
net.server: Swich method for connecting sockets with remotes
LuaSocket TCP sockets have have both :connect and :setpeername, which
are the exact same function, however UDP sockets only have :setpeername.
Switching to :setpeername allows most of this code to be generic wrt
TCP/UDP.
Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 17:28:08 +0200] rev 9501
net.server_epoll: Check return conditions of early socket setup
Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 16:26:19 +0200] rev 9500
net.server_epoll: Add support for the conn_type argument to addclient
Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 16:25:30 +0200] rev 9499
net.resolvers.basic: Suffix IPv4 TCP socket types with '4' to match eg 'tcp6'
Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 16:24:49 +0200] rev 9498
net.server: Remove socket constructor fallback
Should no longer be needed
Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 16:21:16 +0200] rev 9497
util.dependencies: Add compat code for normalization of socket constructors
Old LuaSocket had only tcp() which was IPv4-only. LuaSocket ~3.0 adds a
tcp6() that creates a IPv6 socket. Some version moves tcp() to tcp4()
and adds an IP-version-agnostic tcp() constructor.
Matthew Wild <mwild1@gmail.com> [Thu, 11 Oct 2018 19:23:21 +0100] rev 9496
mod_storage_sql: Change prosodyarchive_index to be non-unique (fixes #1087)
MySQL requires that the first 20 bytes are unique, even if they differ after
the first 20 bytes. This breaks e.g. pubsub/PEP nodes longer than 20 characters
that have common prefixes.
Matthew Wild <mwild1@gmail.com> [Thu, 11 Oct 2018 19:15:46 +0100] rev 9495
mod_storage_sql: Have :users() throw an error on failure instead of returning non-iterator values
Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 03:43:56 +0200] rev 9494
storagemanager tests: Also cover memory driver
Kim Alvefur <zash@zash.se> [Fri, 12 Oct 2018 02:16:24 +0200] rev 9493
mod_c2s: Fix fallback for missing session logger