Skip to content

fix cancellation issues with PgListener, PgStream::recv()#3467

Merged
abonander merged 3 commits intomainfrom
pg-recv-cancellation
Aug 27, 2024
Merged

fix cancellation issues with PgListener, PgStream::recv()#3467
abonander merged 3 commits intomainfrom
pg-recv-cancellation

Conversation

@abonander
Copy link
Copy Markdown
Collaborator

fixes #3419
fixes #2956
fixes #886

@abonander abonander changed the title fix cancellation issues with PgListener::recv() fix cancellation issues with PgListener, PgStream::recv() Aug 27, 2024
@abonander abonander force-pushed the pg-recv-cancellation branch from 2b1d0ac to 0875a49 Compare August 27, 2024 07:26
@abonander abonander force-pushed the pg-recv-cancellation branch from 0875a49 to 20f992e Compare August 27, 2024 07:32
@abonander abonander merged commit e10789d into main Aug 27, 2024
@abonander abonander deleted the pg-recv-cancellation branch August 27, 2024 17:54
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
…badge#3467)

* fix(postgres): make `PgStream::recv_unchecked()` cancel-safe

* fix(postgres): make `PgListener` close the connection on-error

* fix: incorrect math in `BufferedSocket::read_buffered()`
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
…badge#3467)

* fix(postgres): make `PgStream::recv_unchecked()` cancel-safe

* fix(postgres): make `PgListener` close the connection on-error

* fix: incorrect math in `BufferedSocket::read_buffered()`
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.

bug: memory leak in PgStream bug(PgListener): periodic protocol error due to unknown message type unknown message type: '\u{0}' for postgres

1 participant