Skip to content

Fix TLS read loop error handling - #222

Open
BreezeDelegate wants to merge 1 commit into
neondatabase:mainfrom
BreezeDelegate:fix/tls-read-loop-errors
Open

Fix TLS read loop error handling#222
BreezeDelegate wants to merge 1 commit into
neondatabase:mainfrom
BreezeDelegate:fix/tls-read-loop-errors

Conversation

@BreezeDelegate

Copy link
Copy Markdown

Handle rejected background TLS reads by emitting error and close on the socket instead of leaving the rejection unhandled.

Adds a regression test with a mocked TLS handshake/read loop and regenerates the published bundles.

Fixes #217

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.

tlsReadLoop() is not awaited and has no .catch() — TLS read errors silently hang the pg client forever

1 participant