Commit Diff
--- version.go +++ version.go @@ -38,7 +38,7 @@ func clientnegotiate(ctx context.Context, ch Channel, return "", fmt.Errorf("unsupported server version: %v", version) } - if int(v.MSize) > ch.MSize() { + if int(v.MSize) < ch.MSize() { // upgrade msize if server differs. ch.SetMSize(int(v.MSize)) }