aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/adns.lua1
-rw-r--r--net/connlisteners.lua1
-rw-r--r--net/dns.lua1
-rw-r--r--net/http.lua1
-rw-r--r--net/httpserver.lua1
-rw-r--r--net/server_epoll.lua1
6 files changed, 6 insertions, 0 deletions
diff --git a/net/adns.lua b/net/adns.lua
index a19cbd59..560e4b53 100644
--- a/net/adns.lua
+++ b/net/adns.lua
@@ -17,6 +17,7 @@ local setmetatable = setmetatable;
local function dummy_send(sock, data, i, j) return (j-i)+1; end
local _ENV = nil;
+-- luacheck: std none
local async_resolver_methods = {};
local async_resolver_mt = { __index = async_resolver_methods };
diff --git a/net/connlisteners.lua b/net/connlisteners.lua
index 38cf8f08..259b80ee 100644
--- a/net/connlisteners.lua
+++ b/net/connlisteners.lua
@@ -3,6 +3,7 @@ local log = require "util.logger".init("net.connlisteners");
local traceback = debug.traceback;
local _ENV = nil;
+-- luacheck: std none
local function fail()
log("error", "Attempt to use legacy connlisteners API. For more info see https://prosody.im/doc/developers/network");
diff --git a/net/dns.lua b/net/dns.lua
index e6749025..08f5b121 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -73,6 +73,7 @@ local default_timeout = 15;
-------------------------------------------------- module dns
local _ENV = nil;
+-- luacheck: std none
local dns = {};
diff --git a/net/http.lua b/net/http.lua
index 8a669321..c17d734c 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -27,6 +27,7 @@ local error = error
local log = require "util.logger".init("http");
local _ENV = nil;
+-- luacheck: std none
local requests = {}; -- Open requests
diff --git a/net/httpserver.lua b/net/httpserver.lua
index 56561306..f77b3dac 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -3,6 +3,7 @@ local log = require "util.logger".init("net.httpserver");
local traceback = debug.traceback;
local _ENV = nil;
+-- luacheck: std none
function fail()
log("error", "Attempt to use legacy HTTP API. For more info see https://prosody.im/doc/developers/legacy_http");
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 3ce1be5a..b62bad83 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -28,6 +28,7 @@ local _SOCKETINVALID = socket._SOCKETINVALID or -1;
assert(socket.tcp6 and socket.tcp4, "Incompatible LuaSocket version");
local _ENV = nil;
+-- luacheck: std none
local default_config = { __index = {
read_timeout = 900;