Diff

net/server_epoll.lua @ 7556:1f777b38b66c

net.server_epoll: Make addclient conform to API (expected by net.http.request)
author Kim Alvefur <zash@zash.se>
date Wed, 10 Aug 2016 21:11:09 +0200
parent 7555:f3abb5f891eb
child 7557:f0dd902534b0
line wrap: on
line diff
--- a/net/server_epoll.lua	Wed Aug 10 21:10:17 2016 +0200
+++ b/net/server_epoll.lua	Wed Aug 10 21:11:09 2016 +0200
@@ -473,7 +473,7 @@
 	else
 		client:setflags(true, true);
 	end
-	return client;
+	return client, conn;
 end
 
 local function link(from, to)