aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index ad9bdf0b..116b4327 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -353,6 +353,9 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
handler.shutdown = function( pattern )
return shutdown( socket, pattern )
end
+ handler.setoption = function (self, option, value)
+ return socket:setoption(option, value);
+ end
handler.close = function( self, forced )
if not handler then return true; end
_readlistlen = removesocket( _readlist, socket, _readlistlen )