mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
modify from http folder (#1470)
* delete unused var and add used arg * use interface from stream
This commit is contained in:
@@ -77,7 +77,6 @@ function tlshelper.writefunc(fd, tls_ctx)
|
||||
end
|
||||
|
||||
function tlshelper.readallfunc(fd, tls_ctx)
|
||||
local readfunc = socket.readfunc(fd)
|
||||
return function ()
|
||||
local ds = socket.readall(fd)
|
||||
local s = tls_ctx:read(ds)
|
||||
|
||||
Reference in New Issue
Block a user