Small fix for lounge api
This commit is contained in:
1 parent
51eb7bdfa2
commit
aab99b2a2e
1 file changed
+1
-1
@@ -183,7 +183,7 @@ class LongPoller
|
||||
if newLineIndex > 0
|
||||
operationLine = m.socket_buffer.Left(newLineIndex)
|
||||
parts = operationLine.Split(" ")
|
||||
if parts.Count() <> 3 or parts[0] <> "HTTP/1.1"
|
||||
if parts.Count() < 3 or parts[0] <> "HTTP/1.1"
|
||||
LogError("Invalid operation line:", operationLine)
|
||||
m.CloseSocket()
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user