mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-15 13:57:09 +02:00
A client that starts a handshake and disconnects before the password step (a pool connection attempt timing out behind a long scanner transaction) left the single backend in ClientAuthInProgress, and it then answered other clients' queries without ReadyForQuery, or read their query as an empty one, until the next handshake completed. Each such reply broke a pooled connection and, during a scan, the scanner transaction on it. The bridge now replies AuthenticationOk, the cached ParameterStatus messages, BackendKeyData and ReadyForQuery itself for every client after the first, answers SSLRequest with N, and drops CancelRequest connections. |
||
|---|---|---|
| .. | ||
| migrations | ||
| pglite | ||
| backup.go | ||
| backup_test.go | ||
| db.go | ||
| db_test.go | ||
| export_test.go | ||
| optimize.go | ||
| optimize_test.go | ||