aboutsummaryrefslogtreecommitdiffstats
path: root/util/promise.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-12 16:21:16 +0200
committerKim Alvefur <zash@zash.se>2018-10-12 16:21:16 +0200
commit0cbed0adb77d35232ae800e5b0cba608fbacf1ad (patch)
tree7487fa9b5c7ad9431155d7fdaced84cc734cf85a /util/promise.lua
parent23ebd922f22234f220d3cb90031bb92521915047 (diff)
downloadprosody-0cbed0adb77d35232ae800e5b0cba608fbacf1ad.tar.gz
prosody-0cbed0adb77d35232ae800e5b0cba608fbacf1ad.zip
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.
Diffstat (limited to 'util/promise.lua')
0 files changed, 0 insertions, 0 deletions