Mercurial > prosody-hg
view util/xpcall.lua @ 14223:37612a03220d
net.unbound: Inherit trust anchors from luaunbound defaults
If luaunbound ships with trust anchors set then that's probably good
defaults.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 11 Jun 2026 22:19:08 +0200 |
| parents | d10957394a3c |
| children |
line wrap: on
line source
local xpcall = xpcall; if select(2, xpcall(function (x) return x end, function () end, "test")) ~= "test" then xpcall = require"prosody.util.compat".xpcall; end return { xpcall = xpcall; };
