diff --git a/script/service/net.lua b/script/service/net.lua index 61603d792..86edc9a6b 100644 --- a/script/service/net.lua +++ b/script/service/net.lua @@ -125,6 +125,7 @@ function stream:select_w() if n == nil then self.shutdown_w = true close_write(self) + elseif n == false then else self._writebuf = self._writebuf:sub(n + 1) if self._writebuf == "" then