修复ws连接失败时content-length解析错误
This commit is contained in:
@@ -79,7 +79,7 @@ do--Connect
|
||||
code=l:find(" "); code=l:sub(code+1,code+3)
|
||||
repeat
|
||||
l=SOCK:receive("*l")
|
||||
if not ctLen and l:find"Length"then
|
||||
if not ctLen and l:find"length"then
|
||||
ctLen=tonumber(l:match"%d+")
|
||||
end
|
||||
until l==""
|
||||
|
||||
Reference in New Issue
Block a user