Skip to content

feat: use protocol 3.2 by default, and downgrade to 3.0 if client requests#280

Merged
sunng87 merged 3 commits into
masterfrom
refactor/default-to-3-2
Jun 27, 2025
Merged

feat: use protocol 3.2 by default, and downgrade to 3.0 if client requests#280
sunng87 merged 3 commits into
masterfrom
refactor/default-to-3-2

Conversation

@sunng87

@sunng87 sunng87 commented Jun 27, 2025

Copy link
Copy Markdown
Owner

In this patch I removed UNKNOWN from ProtocolVersion. There won't be a unknown state. The server will always use 3.2 protocol version be default, and if client requests an alternative version the server knows about, it will downgrade to it. Otherwise, the server will start its protocol negotiation process hoping the client to know about it. This will be implemented in next patch.

@sunng87 sunng87 force-pushed the refactor/default-to-3-2 branch from 764fbdb to b2ac8f3 Compare June 27, 2025 04:00
Comment thread src/api/mod.rs Outdated
@sunng87 sunng87 merged commit f6f20a9 into master Jun 27, 2025
6 checks passed
@sunng87 sunng87 deleted the refactor/default-to-3-2 branch June 27, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant