diff --git a/nomad/rpc.go b/nomad/rpc.go index 373a6a634..41c915345 100644 --- a/nomad/rpc.go +++ b/nomad/rpc.go @@ -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