fserv now sends the correct status messages for HTTP(S) proxying
This commit is contained in:
parent
8b4d0e4eb8
commit
c1fcfd652e
@ -63,6 +63,7 @@ local function httpHandler(socket,rtype,path)
|
|||||||
if code < 200 or code > 299 then
|
if code < 200 or code > 299 then
|
||||||
socket:write(string.format("f%d\n%s",code,message))
|
socket:write(string.format("f%d\n%s",code,message))
|
||||||
else
|
else
|
||||||
|
socket:write("y")
|
||||||
local data = ""
|
local data = ""
|
||||||
repeat
|
repeat
|
||||||
coroutine.yield()
|
coroutine.yield()
|
||||||
|
Loading…
Reference in New Issue
Block a user