summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library
diff options
context:
space:
mode:
authortweyseo <tweyseo@live.cn>2022-07-01 17:44:33 +0800
committertweyseo <tweyseo@live.cn>2022-07-01 17:44:33 +0800
commitc5f8a2229e601d78c7676451367bddc0cbdbd0c0 (patch)
tree1642c430f940a67c5f522168aa20e98b44231270 /meta/3rd/OpenResty/library
parent342ff9af837cdbe0369e717585fcd36638d60002 (diff)
downloadlua-language-server-c5f8a2229e601d78c7676451367bddc0cbdbd0c0.zip
bugfix:allow call iterator return from tcpsock:receiveuntil without param
Diffstat (limited to 'meta/3rd/OpenResty/library')
-rw-r--r--meta/3rd/OpenResty/library/ngx.lua2
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
---