fix httpver

This commit is contained in:
zixun
2019-07-26 22:49:41 +08:00
committed by 云风
parent b5ea18f44b
commit 082fb732e5

View File

@@ -82,7 +82,7 @@ local function read_handshake(self)
end
httpver = assert(tonumber(httpver))
if httpver < 1.0 or httpver > 1.1 then
if httpver < 1.1 then
return 505 -- HTTP Version not supported
end