aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/basic.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.resolvers.basic: Fix continuing if IPv6 or Legacy IP is disabledKim Alvefur2020-01-261-0/+4
| | | | | The code expects ready() to be called twice, but with IPv4 or v6 disabled it would only be called once.
* net.resolvers.basic: Obey extra.use_ipv4/use_ipv6Matthew Wild2020-01-251-2/+2
|
* net.resolvers.basic: Obey use_ipv4/use_ipv6Matthew Wild2020-01-251-14/+19
|
* net.connect: Mention RFC 6724 regressionKim Alvefur2019-12-071-0/+1
| | | | | Default Address Selection algorithm is not applied, resulting in a strong bias towards IPv4.
* net.connect: Add some TODOs and FIXMEsKim Alvefur2019-12-071-0/+4
| | | | And mention issue numbers: #1246, #1428 and #1429
* Merge 0.11->trunkKim Alvefur2019-11-241-0/+2
|\
| * net.resolvers.basic: Normalise IP literals, ensures net.server is happyKim Alvefur2019-11-241-0/+2
| |
* | Merge 0.11->trunkKim Alvefur2019-11-241-11/+17
|\|
| * net.resolvers.basic: Fix resolution of IPv6 literals (in brackets) (fixes #1459)Kim Alvefur2019-11-241-0/+3
| |
| * net.resolvers.basic: Move IP literal check to constructorKim Alvefur2019-11-241-11/+14
| | | | | | | | | | This is to prepare for fixing #1459. An IPv6 literal in [ ] brackets does not pass IDNA and resolving it fails there.
* | Merge 0.11->trunkKim Alvefur2019-11-081-0/+1
|\|
| * net.resolvers: Fix traceback from hostname failing IDNAKim Alvefur2019-11-081-0/+1
| | | | | | | | Related to #1426
* | Merge 0.11->trunkKim Alvefur2019-11-021-1/+7
|\|
| * net.resolvers: Abort on hostnames not passing IDNA validationKim Alvefur2019-11-021-0/+5
| | | | | | | | | | | | Prevents error on trying to use nil. Needs better error reporting in the future.
| * net.resolvers: Apply IDNA conversion to ascii for DNS lookups (fixes #1426)Kim Alvefur2019-11-021-1/+2
| |
* | various: Don't rely on _G.unpack existingKim Alvefur2018-12-081-0/+1
|/
* net.resolvers.basic: Suffix IPv4 TCP socket types with '4' to match eg 'tcp6'Kim Alvefur2018-10-121-2/+2
|
* net.resolvers.basic: Support IP address literalsKim Alvefur2018-05-021-0/+11
|
* net.connect: New API for outgoing connections, based on 'service resolvers'Matthew Wild2018-02-231-0/+60