2
0

Merge pull request #513 from sidh/issues/495

Fix PreferSimpleProtocol overwrite
This commit is contained in:
Jack Christensen
2019-03-08 15:27:02 -06:00
committed by GitHub
+1 -1
View File
@@ -707,7 +707,7 @@ func (old ConnConfig) Merge(other ConnConfig) ConnConfig {
cc.Dial = other.Dial
}
cc.PreferSimpleProtocol = other.PreferSimpleProtocol
cc.PreferSimpleProtocol = old.PreferSimpleProtocol || other.PreferSimpleProtocol
cc.RuntimeParams = make(map[string]string)
for k, v := range old.RuntimeParams {