neo4j / neo4j-go-driver

Neo4j Bolt Driver for Go
Apache License 2.0
488 stars 68 forks source link

Introduce message queue to better correlate requests and responses #457

Closed fbiville closed 1 year ago

fbiville commented 1 year ago

This is currently only applied to Bolt 5.x, but can be ported to older protocol connections as well.

This removes some fragile heuristics on response correlation (see e.g. success#isResetResponse).

This also paves the way for a cleaner implementation of re-auth.

Big kudos to @robsdedude for guiding through this, as he already implemented a similar approach in the Python driver.