Protocol version check

This commit is contained in:
Toby
2021-04-18 18:07:01 -07:00
parent fc4d573f3d
commit 7b841aa203
3 changed files with 19 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ import (
)
const (
protocolVersion = uint8(1)
protocolVersion = uint8(2)
protocolTimeout = 10 * time.Second
closeErrorCodeGeneric = 0