pgsql: oauth: Remove stale events from the kqueue multiplexer

2025-08-08 Thread Jacob Champion
oauth: Remove stale events from the kqueue multiplexer If a socket is added to the kqueue, becomes readable/writable, and subsequently becomes non-readable/writable again, the kqueue itself will remain readable until either the socket registration is removed, or the stale event is cleared via a ca

pgsql: oauth: Remove stale events from the kqueue multiplexer

2025-08-08 Thread Jacob Champion
oauth: Remove stale events from the kqueue multiplexer If a socket is added to the kqueue, becomes readable/writable, and subsequently becomes non-readable/writable again, the kqueue itself will remain readable until either the socket registration is removed, or the stale event is cleared via a ca