mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
Add low priority list to socket send buffer
This commit is contained in:
@@ -264,6 +264,7 @@ function socket.block(id)
|
||||
end
|
||||
|
||||
socket.write = assert(driver.send)
|
||||
socket.lwrite = assert(driver.lsend)
|
||||
|
||||
function socket.invalid(id)
|
||||
return socket_pool[id] == nil
|
||||
|
||||
Reference in New Issue
Block a user