mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-04-30 20:26:44 +02:00
Compare commits
1 Commits
8051b11898
...
c19b111bc1
Author | SHA1 | Date | |
---|---|---|---|
|
c19b111bc1 |
@ -62,7 +62,7 @@ local function receiveheaders(sock, headers)
|
||||
-- unfold any folded values
|
||||
while string.find(line, "^%s") do
|
||||
value = value .. line
|
||||
line, err = sock:receive()
|
||||
line = sock:receive()
|
||||
if err then return nil, err end
|
||||
end
|
||||
-- save pair in table
|
||||
@ -293,9 +293,7 @@ local function adjustrequest(reqt)
|
||||
end
|
||||
|
||||
-- ajust host and port if there is a proxy
|
||||
nreqt.host, nreqt.port, proxy_create = adjustproxy(nreqt)
|
||||
if not reqt.create then nreqt.create = proxy_create end
|
||||
|
||||
nreqt.host, nreqt.port, nreqt.create = adjustproxy(nreqt)
|
||||
return nreqt
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user