1
1
의 미러 https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-09-27 14:45:18 -04:00

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

This commit is contained in:
XeonSquared 2020-06-06 14:42:58 +10:00
부모 8b4d0e4eb8
커밋 c1fcfd652e

파일 보기

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