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

fix: there is no SSLRequest in frontend messages #116

Conversation

elmaxxo
Copy link
Contributor

@elmaxxo elmaxxo commented Oct 19, 2023

Hi!

This patch adds SSLRequest to frontend messages.

@sunng87
Copy link
Owner

sunng87 commented Oct 20, 2023

hi @elmaxxo , thank you for this patch. Are you using pgwire as a library to build postgresql client?

@elmaxxo
Copy link
Contributor Author

elmaxxo commented Oct 20, 2023

hi @elmaxxo , thank you for this patch. Are you using pgwire as a library to build postgresql client?

No, I'm building a postgres backend. As a backend, I read bytes into a buffer and try to decode them as frontend messages, but at the beginning I try to explicitly decode SslRequest and Startup using the appropriate decode() methods, and in case of success I want to return them as a frontend message. But there is no such message for SslRequest.

@sunng87 sunng87 merged commit aad10d5 into sunng87:master Oct 20, 2023
6 checks passed
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.

2 participants