Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remind the user when TiDB sets wrong proxy-protocol #360

Closed
djshow832 opened this issue Sep 4, 2023 · 0 comments · Fixed by #362
Closed

Remind the user when TiDB sets wrong proxy-protocol #360

djshow832 opened this issue Sep 4, 2023 · 0 comments · Fixed by #362
Assignees

Comments

@djshow832
Copy link
Collaborator

Development Task

If the user enables proxy-protocol on the TiProxy but not on the TiDB side or vice-versa, he receives a weird error. Actually, if the initial handshake packet from the server is malformed, we could actually remind the user.

Besides, [proxy-protocol=false] in the log can be removed, because the config is printed anyway.

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 a pull request may close this issue.

1 participant