You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just got it working locally, it requires changes in both this package and in react/socket to work as the TLS encryption is added to the connection after an SSLRequest command is sent to the PG server and it responded back positively. On top of that, I probably going to add support for URI parsing to get the query out in an easy way. Will have a chat with @clue and how we can add support for enabling the encryption later on in react/socket because everything to do this is already there, except adding later than right away on the connection.
I'll toss some more time at it now to get it working for now, and test it out in a project before I start creating PR's.
Activity
WyriHaximus commentedon Nov 8, 2022
Same question, but looking at the code this might be a bit more work than that. /cc @mbonneau @davidwdan
WyriHaximus commentedon Nov 14, 2022
Just got it working locally, it requires changes in both this package and in
react/socketto work as the TLS encryption is added to the connection after anSSLRequestcommand is sent to the PG server and it responded back positively. On top of that, I probably going to add support for URI parsing to get the query out in an easy way. Will have a chat with @clue and how we can add support for enabling the encryption later on inreact/socketbecause everything to do this is already there, except adding later than right away on the connection.I'll toss some more time at it now to get it working for now, and test it out in a project before I start creating PR's.
Refs:
WyriHaximus commentedon Nov 14, 2022
My comment on
react/socketabout this: reactphp/socket#89 (comment)WyriHaximus commentedon Dec 2, 2022
Opened the WIP PR for this side on it, opening the react/socket PR for it later this weekend: #52
WyriHaximus commentedon Mar 9, 2026
FYI, this has landed through #52 in
2.1.0