Merge 87e52bd0b2c398fd593172b07e9ff0687a0aef7f into 58c76080a0c654de906de9f554e2de45b1784929

This commit is contained in:
johnd0e 2025-03-10 07:19:03 -05:00 committed by GitHub
commit 864be8fda6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -369,8 +369,10 @@ end
-- if it is an HTTP/0.9 server, simply get the body and we are done -- if it is an HTTP/0.9 server, simply get the body and we are done
if not code then if not code then
h:receive09body(status, nreqt.sink, nreqt.step) h:receive09body(status, nreqt.sink, nreqt.step)
h:close()
return 1, 200 return 1, 200
elseif code == 408 then elseif code == 408 then
h:close()
return 1, code return 1, code
end end
local headers local headers