Viste
Viste
``` local ans, err = r:tcp_query(host, { qtype = TYPE_A }) if not ans then ngx.log(ngx.ERR, "got an error on query: ", err) return ngx.exit(ngx.HTTP_GATEWAY_TIMEOUT) end for k,answer in pairs(ans)...
@rulatir No, when I wrote it I made a mistake, there must be r.TYPE_A this is 100% working code with checks for return ipv4 or ipv6 depends on which version...
@rulatir you're welcome :)
@FrancescoBorzi i think better use familiar name then same as in eng variant :) no one use private server in russian all use pirate
can't agree with some of this "fixes"
@cavaliercoder @jangaraj
@cavaliercoder @jangaraj
1st ok 2nd not
you already ask this on main LuaEngine repo https://github.com/ElunaLuaEngine/Eluna/issues/296 what for you duplicate its here? i think if you really need Lua JIT instead Lua Lib you'd have done it...