Software /
code /
prosody
Comparison
net/resolvers/basic.lua @ 10400:4c2d789a106b 0.11
net.resolvers: Fix traceback from hostname failing IDNA
Related to #1426
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Nov 2019 00:54:56 +0100 |
parent | 10385:62a7042e0771 |
child | 10401:1ef1f6c43c5b |
child | 10436:0d702ec77f0c |
comparison
equal
deleted
inserted
replaced
10390:82705ec87253 | 10400:4c2d789a106b |
---|---|
19 end | 19 end |
20 | 20 |
21 if not self.hostname then | 21 if not self.hostname then |
22 -- FIXME report IDNA error | 22 -- FIXME report IDNA error |
23 cb(nil); | 23 cb(nil); |
24 return; | |
24 end | 25 end |
25 | 26 |
26 local targets = {}; | 27 local targets = {}; |
27 local n = 2; | 28 local n = 2; |
28 local function ready() | 29 local function ready() |