aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_target.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2025-03-19 16:22:52 +1300
committerThomas Munro <tmunro@postgresql.org>2025-03-19 16:45:01 +1300
commit434dbf6907ec8fafa6862a0f00385f293e63ac0e (patch)
tree18ec3570b9de343ae1675bafbb8eb8c28da16092 /src/backend/parser/parse_target.c
parent8d9d5843b55f47d24031165f99b07d41715b93e9 (diff)
downloadpostgresql-434dbf6907ec8fafa6862a0f00385f293e63ac0e.tar.gz
postgresql-434dbf6907ec8fafa6862a0f00385f293e63ac0e.zip
oauth: Fix postcondition for set_timer on macOS
On macOS, readding an EVFILT_TIMER to a kqueue does not appear to clear out previously queued timer events, so checks for timer expiration do not work correctly during token retrieval. Switching to IPv4-only communication exposes the problem, because libcurl is no longer clearing out other timeouts related to Happy Eyeballs dual-stack handling. Fully remove and re-register the kqueue timer events during each call to set_timer(), to clear out any stale expirations. Author: Jacob Champion <jacob.champion@enterprisedb.com> Discussion: https://postgr.es/m/CAOYmi%2Bn4EDOOUL27_OqYT2-F2rS6S%2B3mK-ppWb2Ec92UEoUbYA%40mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_target.c')
0 files changed, 0 insertions, 0 deletions