pg.ddx.io  pgbouncer/pgbouncer GitHub issues and pull requests  
help / color / mirror / Atom feed
From: cosgroveb (@cosgroveb) <noreply+cosgroveb@github.com>
To: pgbouncer/pgbouncer <noreply+pgbouncer-pgbouncer@github.com>
Subject: Re: [pgbouncer/pgbouncer] PR #1698: Fix use-after-free of server TLS config on SIGHUP
Date: Fri, 06 Nov 2026 16:29:33 +0000
Message-ID: <gh-pgbouncer-pgbouncer-1698-rc4494885516@github.com> (raw)
In-Reply-To: <gh-pgbouncer-pgbouncer-1698@github.com>
References: <gh-pgbouncer-pgbouncer-1698@github.com>

(on test/test_ssl_sighup_reload.py:39)

Socket timeout suggestions bundle: part 1 of 4 (apply all four together or none of them, since they depend on one another).

Give `accept()` a timeout so the worker can notice `_stop`.

```suggestion
        self.sock.listen(5)
        self.sock.settimeout(0.1)
```


view thread (10+ messages)  latest in thread

Message-ID: <gh-pgbouncer-pgbouncer-1698-rc4494885516@github.com>
Permalink:  ../gh-pgbouncer-pgbouncer-1698-rc4494885516@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox