consul: Add new protocol version for yamux

pull/179/head
Armon Dadgar 11 years ago
parent d737a2204a
commit d1ebf83e39

@ -33,6 +33,7 @@ var protocolVersionMap map[uint8]uint8
func init() { func init() {
protocolVersionMap = map[uint8]uint8{ protocolVersionMap = map[uint8]uint8{
1: 4, 1: 4,
2: 4,
} }
} }

@ -22,7 +22,7 @@ import (
// protocol versions. // protocol versions.
const ( const (
ProtocolVersionMin uint8 = 1 ProtocolVersionMin uint8 = 1
ProtocolVersionMax = 1 ProtocolVersionMax = 2
) )
const ( const (

Loading…
Cancel
Save