aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server_event.lua1
-rw-r--r--net/server_select.lua1
2 files changed, 0 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 87630238..1db78041 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -844,7 +844,6 @@ function hook_signal(signal_num, handler)
end
local function link(sender, receiver, buffersize)
- sender:set_mode(buffersize);
local sender_locked;
function receiver:ondrain()
diff --git a/net/server_select.lua b/net/server_select.lua
index 51ae4e66..a46551b7 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -666,7 +666,6 @@ closesocket = function( socket )
end
local function link(sender, receiver, buffersize)
- sender:set_mode(buffersize);
local sender_locked;
local _sendbuffer = receiver.sendbuffer;
function receiver.sendbuffer()