Browse Source

fserv now sends the correct status messages for HTTP(S) proxying

master
Izaya 3 years ago
parent
commit
c1fcfd652e
  1. 1
      service/fserv.lua

1
service/fserv.lua

@ -63,6 +63,7 @@ local function httpHandler(socket,rtype,path)
if code < 200 or code > 299 then
socket:write(string.format("f%d\n%s",code,message))
else
socket:write("y")
local data = ""
repeat
coroutine.yield()

Loading…
Cancel
Save