From c5f8a2229e601d78c7676451367bddc0cbdbd0c0 Mon Sep 17 00:00:00 2001 From: tweyseo Date: Fri, 1 Jul 2022 17:44:33 +0800 Subject: bugfix:allow call iterator return from tcpsock:receiveuntil without param --- meta/3rd/OpenResty/library/ngx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/3rd/OpenResty/library/ngx.lua') 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 --- -- cgit v1.2.3