nomad: remove magic bytes

This commit is contained in:
Armon Dadgar
2015-08-20 15:07:22 -07:00
parent 8823186905
commit bab9fca5dc

View File

@@ -24,16 +24,6 @@ const (
rpcTLS = 0x04
)
const (
// rpcHTTPSMagic is used to detect an incoming HTTPS
// request. TLS starts with the 0x16 magic byte.
rpcHTTPSMagic = 0x16
// rpcHTTPMagic is used to detect an incoming HTTP
// request. The request starts with 'HTTP'
rpcHTTPMagic = 0x48
)
const (
// maxQueryTime is used to bound the limit of a blocking query
maxQueryTime = 300 * time.Second