Skip to content

Added authorization expired response handling #886

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

Merged
merged 6 commits into from
Apr 29, 2021

Conversation

injectives
Copy link
Contributor

@injectives injectives commented Apr 27, 2021

This update adds support for authorization expired response handling. When such error arrives the driver will mark all connections that were created on or before the creation timestamp of the receiving connection for disposal. The connections will be allowed to finish what they are doing and released back to the pool and will be disposed on the next acquire call.

This update also makes sure that we always register the HELLO response handler so that we can handle the response appropriately.

In addition, it adds the ROLLBACK message support to the driver backend.

@injectives injectives self-assigned this Apr 27, 2021
This update adds support for authorization expired response handling. When such error arrives the driver will mark all connections that were created on or before the creation timestamp of the receiving connection for disposal. The connections will be allowed to finish what they are doing and released back to the pool and will be disposed on the next acquire call.

This update also makes sure that we always register the HELLO response handler so that we can handle the response appropriately.

In addition, it adds the ROLLBACK message support to the driver backend.
@injectives injectives force-pushed the feature/authorization-expired branch from 85381d9 to 49b26a4 Compare April 27, 2021 13:08
@injectives injectives merged commit 4bc50f4 into neo4j:4.3 Apr 29, 2021
@injectives injectives deleted the feature/authorization-expired branch April 29, 2021 18:29
injectives added a commit to injectives/neo4j-java-driver that referenced this pull request Jun 8, 2021
This improves the changes introduced in neo4j#886.
injectives added a commit that referenced this pull request Jun 8, 2021
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