aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 708d4ba5..e85947ae 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -22,6 +22,8 @@ local luasec = require "ssl";
local gettime = require "util.time".now;
local createtable = require "util.table".create;
+assert(socket.tcp6 and socket.tcp4, "Incompatible LuaSocket version");
+
local _ENV = nil;
local cfg = {