Software /
code /
prosody
Comparison
net/resolvers/basic.lua @ 12815:2d134201dc55
net.resolvers.basic: Record hostname coming from secure SRV records
Will be useful even later...
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 22 Dec 2022 00:11:23 +0100 |
parent | 12601:72f7bb3f30d3 |
child | 12974:ba409c67353b |
comparison
equal
deleted
inserted
replaced
12814:3bfb2f9e13af | 12815:2d134201dc55 |
---|---|
106 self.extra.dane_hostname = self.hostname; | 106 self.extra.dane_hostname = self.hostname; |
107 else | 107 else |
108 self.extra.tlsa = nil; | 108 self.extra.tlsa = nil; |
109 self.extra.dane_hostname = nil; | 109 self.extra.dane_hostname = nil; |
110 end | 110 end |
111 elseif self.extra and self.extra.srv_secure then | |
112 self.extra.secure_hostname = self.hostname; | |
111 end | 113 end |
112 | 114 |
113 self:next(cb); | 115 self:next(cb); |
114 end):catch(function (err) | 116 end):catch(function (err) |
115 self.last_error = err; | 117 self.last_error = err; |