diff -r 6042c938e369 -r 82ad158714e5 init.lua --- a/init.lua Sat Jan 09 11:03:30 2016 +0000 +++ b/init.lua Tue Jan 12 13:14:36 2016 +0000 @@ -25,7 +25,7 @@ for i=1,select("#", ...) do local ok, err = pcall(require, "verse."..select(i,...)); if not ok then - error("Verse connection module not found: verse."..select(i,...).."\n"..err); + error("Verse connection module not found: verse."..select(i,...)..err); end end return verse; @@ -119,6 +119,7 @@ -- Create and initiate connection local conn = socket.tcp() conn:settimeout(0); + conn:setoption("keepalive", true); local success, err = conn:connect(connect_host, connect_port); if not success and err ~= "timeout" then