aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-10 21:11:09 +0200
committerKim Alvefur <zash@zash.se>2016-08-10 21:11:09 +0200
commite21d18c2b540f28efc3af81121cecc2f94ffce7a (patch)
tree39294636bc4edb36a6f51d9dc792f8af202f8a2b /net/server_epoll.lua
parentf111485769022f472230f669aba56e20dbf8d247 (diff)
downloadprosody-e21d18c2b540f28efc3af81121cecc2f94ffce7a.tar.gz
prosody-e21d18c2b540f28efc3af81121cecc2f94ffce7a.zip
net.server_epoll: Make addclient conform to API (expected by net.http.request)
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index f191a74e..8880c793 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -473,7 +473,7 @@ local function addclient(addr, port, listeners, pattern, tls)
else
client:setflags(true, true);
end
- return client;
+ return client, conn;
end
local function link(from, to)