add sock::readall() to ensure the response body is complete
This commit is contained in:
parent
0d541a4cbd
commit
c30cf9abd4
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ function request_raw(uri, options)
|
|||
end
|
||||
end
|
||||
|
||||
return response.code, response, linesrc(true), sock
|
||||
return response.code, response, linesrc(true)..sock:readall(), sock
|
||||
end
|
||||
|
||||
function cookie_parse(cookiestr)
|
||||
|
|
Loading…
Reference in a new issue