Parcourir la source

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

master
XeonSquared il y a 4 ans
Parent
révision
c1fcfd652e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      service/fserv.lua

+ 1
- 0
service/fserv.lua Voir le fichier

@@ -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()


Chargement…
Annuler
Enregistrer