Compare commits

..

3 Commits

Author SHA1 Message Date
Wii
778734e7ab
Merge e1651c9d8b3c78728fc5ad82c15eb3ef4a9f34fa into 13f2b3c663d9fa5c464782a0bfccb30bcc017b0c 2023-11-20 22:13:15 -07:00
_AMD_
13f2b3c663
fix(http): Correct receiveheaders() handling of folded values (#420) 2023-11-13 23:33:26 +03:00
Caleb Maclennan
453a5207ed
style(docs): Trim trailing whitespace in HTML docs
Many editors remove these automatically anyway which makes opening and
editng the docs cause a bunch of noise. This is just to get the noise
out of the way in a style commit so it doesn't leak into other PRs
2023-11-11 08:07:38 +03:00
4 changed files with 83 additions and 83 deletions

View File

@ -62,7 +62,7 @@ local function receiveheaders(sock, headers)
-- unfold any folded values
while string.find(line, "^%s") do
value = value .. line
line = sock:receive()
line, err = sock:receive()
if err then return nil, err end
end
-- save pair in table