Software /
code /
prosody
Comparison
net/resolvers/service.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 |
comparison
equal
deleted
inserted
replaced
10390:82705ec87253 | 10400:4c2d789a106b |
---|---|
26 end | 26 end |
27 | 27 |
28 if not self.hostname then | 28 if not self.hostname then |
29 -- FIXME report IDNA error | 29 -- FIXME report IDNA error |
30 cb(nil); | 30 cb(nil); |
31 return; | |
31 end | 32 end |
32 | 33 |
33 local targets = {}; | 34 local targets = {}; |
34 local function ready() | 35 local function ready() |
35 self.targets = targets; | 36 self.targets = targets; |