Skip to content

Conversation

@JelteF
Copy link
Member

@JelteF JelteF commented Apr 29, 2024

We were bailing out from a connection if we did not receive the full
startup packet in one go, or if it didn't fit in pkt_buf. This fixes
these issues by reusing the packet buffering logic that was introduced
for prepared statement support for our startup packet parsing.

Fixes #1056

We were bailing out from a connection if we did not receive the full
startup packet in one go, or if it didn't fit in pkt_buf. This fixes
these issues by reusing the packet buffering logic that was introduced
for prepared statement support for our startup packet parsing.

Fixes pgbouncer#1056
@kav23alex
Copy link

Thanks for correction. I checked, this problem is no longer reproduced.

@JelteF JelteF changed the title Correctly handle partial startup packets Correctly handle large and partial startup packets May 2, 2024
@JelteF JelteF force-pushed the correctly-handle-incomplete-startup branch from b71c838 to ba44b7c Compare May 2, 2024 08:28
@JelteF JelteF merged commit 4da2a67 into pgbouncer:master May 2, 2024
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.

Fail test test_misc.py::test_options_startup_param on ubuntu-24.04

2 participants