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() {
protocolVersionMap = map[uint8]uint8{
1: 4,
2: 4,
}
}

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

Loading…
Cancel
Save