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

Better verify conn #657

Merged
merged 4 commits into from
Dec 2, 2019
Merged

Better verify conn #657

merged 4 commits into from
Dec 2, 2019

Conversation

zhenlineo
Copy link
Contributor

@zhenlineo zhenlineo commented Nov 29, 2019

Based on #654

Zhen Li added 2 commits November 28, 2019 19:29
For a single driver, we will open a connection with the init server and then check if the server version is 4.0+ and talking with driver using bolt v4.
For a routing driver, we will go through all addresses that are resolved from the init seed server. Then we will check with the first successfully connected server if the server version is 4.0+ and talking with driver using protocol bolt v4.
@zhenlineo zhenlineo changed the title 4.0 better verify conn Better verify conn Nov 29, 2019
This ensures `getRT`, `verifyConnectivity`, and `supportsMultDb` all respect `SecurityException`.
@zhenlineo zhenlineo merged commit 3620ff1 into neo4j:4.0 Dec 2, 2019
@zhenlineo zhenlineo deleted the 4.0-better-verify-conn branch December 2, 2019 15:03
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