mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
fix httpver
This commit is contained in:
@@ -82,7 +82,7 @@ local function read_handshake(self)
|
|||||||
end
|
end
|
||||||
|
|
||||||
httpver = assert(tonumber(httpver))
|
httpver = assert(tonumber(httpver))
|
||||||
if httpver < 1.0 or httpver > 1.1 then
|
if httpver < 1.1 then
|
||||||
return 505 -- HTTP Version not supported
|
return 505 -- HTTP Version not supported
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user