Software /
code /
prosody
Comparison
net/adns.lua @ 7477:f9e470026042
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jul 2016 22:01:10 +0200 |
parent | 7475:ee878fa78b8b |
child | 8266:9a97dd174ec9 |
comparison
equal
deleted
inserted
replaced
7467:9a73c85baffe | 7477:f9e470026042 |
---|---|
9 local server = require "net.server"; | 9 local server = require "net.server"; |
10 local dns = require "net.dns"; | 10 local dns = require "net.dns"; |
11 | 11 |
12 local log = require "util.logger".init("adns"); | 12 local log = require "util.logger".init("adns"); |
13 | 13 |
14 local t_insert, t_remove = table.insert, table.remove; | |
15 local coroutine, tostring, pcall = coroutine, tostring, pcall; | 14 local coroutine, tostring, pcall = coroutine, tostring, pcall; |
16 | 15 |
17 local function dummy_send(sock, data, i, j) return (j-i)+1; end | 16 local function dummy_send(sock, data, i, j) return (j-i)+1; end |
18 | 17 |
19 local _ENV = nil; | 18 local _ENV = nil; |