mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-05-01 04:36:45 +02:00
Compare commits
3 Commits
5c12f10f73
...
5a65c6245d
Author | SHA1 | Date | |
---|---|---|---|
|
5a65c6245d | ||
|
13f2b3c663 | ||
|
453a5207ed |
@ -62,7 +62,7 @@ local function receiveheaders(sock, headers)
|
|||||||
-- unfold any folded values
|
-- unfold any folded values
|
||||||
while string.find(line, "^%s") do
|
while string.find(line, "^%s") do
|
||||||
value = value .. line
|
value = value .. line
|
||||||
line = sock:receive()
|
line, err = sock:receive()
|
||||||
if err then return nil, err end
|
if err then return nil, err end
|
||||||
end
|
end
|
||||||
-- save pair in table
|
-- save pair in table
|
||||||
|
Loading…
x
Reference in New Issue
Block a user