diff options
author | tweyseo <tweyseo@live.cn> | 2022-07-01 17:44:33 +0800 |
---|---|---|
committer | tweyseo <tweyseo@live.cn> | 2022-07-01 17:44:33 +0800 |
commit | c5f8a2229e601d78c7676451367bddc0cbdbd0c0 (patch) | |
tree | 1642c430f940a67c5f522168aa20e98b44231270 /meta/3rd | |
parent | 342ff9af837cdbe0369e717585fcd36638d60002 (diff) | |
download | lua-language-server-c5f8a2229e601d78c7676451367bddc0cbdbd0c0.zip |
bugfix:allow call iterator return from tcpsock:receiveuntil without param
Diffstat (limited to 'meta/3rd')
-rw-r--r-- | meta/3rd/OpenResty/library/ngx.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/3rd/OpenResty/library/ngx.lua b/meta/3rd/OpenResty/library/ngx.lua index 36706904..60102245 100644 --- a/meta/3rd/OpenResty/library/ngx.lua +++ b/meta/3rd/OpenResty/library/ngx.lua @@ -3112,7 +3112,7 @@ function tcpsock:receiveany(max) end --- --- This method does not automatically closes the current connection when the read timeout error happens. For other connection errors, this method always automatically closes the connection. --- ----@alias ngx.socket.tcpsock.iterator fun(size:number):string,string,any +---@alias ngx.socket.tcpsock.iterator fun(size:number|nil):string,string,any --- ---@overload fun(self:tcpsock, size:number, options:table):ngx.socket.tcpsock.iterator --- |