mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
use socket.shutdown where timeout
This commit is contained in:
@@ -102,4 +102,8 @@ function sockethelper.close(fd)
|
||||
socket.close(fd)
|
||||
end
|
||||
|
||||
function sockethelper.shutdown(fd)
|
||||
socket.shutdown(fd)
|
||||
end
|
||||
|
||||
return sockethelper
|
||||
|
||||
Reference in New Issue
Block a user