diff options
Diffstat (limited to 'xmake/core/base/socket.lua')
| -rw-r--r-- | xmake/core/base/socket.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/base/socket.lua b/xmake/core/base/socket.lua index 0dfae075b..47c358599 100644 --- a/xmake/core/base/socket.lua +++ b/xmake/core/base/socket.lua @@ -246,6 +246,7 @@ function _instance:sendfile(file, opt) local errors = nil if opt.block then while start < last do + -- TODO pass file/handle, improve block send real, errors = io.socket_sendfile(self._SOCK, file, start, last) if real > 0 then send = send + real |
