]> git.ipfire.org Git - thirdparty/postgresql.git/commit
oauth: Skip call-count test for libcurl 8.20.0
authorJacob Champion <jchampion@postgresql.org>
Wed, 17 Jun 2026 16:57:59 +0000 (09:57 -0700)
committerJacob Champion <jchampion@postgresql.org>
Wed, 17 Jun 2026 16:57:59 +0000 (09:57 -0700)
commitfd5ea2e9e37c1aee80698b3e8d9d835eaa19a30c
treed0ee900993749fff2c0746313a806d961c07c029
parent4bd477dcc61959b3299d091e6c7fc02b73c7afa5
oauth: Skip call-count test for libcurl 8.20.0

The call-count test in 001_server.pl runs into a recent upstream
regression in Curl:

    https://github.com/curl/curl/issues/21547

The symptom is high CPU usage on some platforms during OAuth HTTP
requests. But it looks like the fix is on track for a June 2026 release,
as part of Curl 8.21.0, so just skip the test if we happen to be using
the broken version.

Reported-by: Andrew Dunstan <andrew@dunslane.net>
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Tested-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CAOYmi%2B%3DyrwMSsHuNJ1V14isA4iSix5Xb3P3VEp1X0BS61MdV4A%40mail.gmail.com
Backpatch-through: 18
src/test/modules/oauth_validator/t/001_server.pl