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:34:26 +0000
Message-ID: <gh-pgbouncer-pgbouncer-1698-rc4494951878@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:65)
Socket timeout suggestions bundle: part 3 of 4 (apply all four together or none of them, since they depend on one another).
Check `_stop` again when `accept()` times out.
```suggestion
conn, _ = self.sock.accept()
except socket.timeout:
continue
```