aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2014-04-16 17:18:02 +0200
committerMagnus Hagander <magnus@hagander.net>2014-04-16 18:59:11 +0200
commitb764080eed128e4ab15db801923ef13c45b506b2 (patch)
tree108c9c28bd4794f61e0f36ed2067c6dd57e954dc /src/backend/executor
parent966f015b60d90f6450cbadcbfa89e21408fe52f9 (diff)
downloadpostgresql-b764080eed128e4ab15db801923ef13c45b506b2.tar.gz
postgresql-b764080eed128e4ab15db801923ef13c45b506b2.zip
Fix timeout in LDAP lookup of libpq connection parameters
Bind attempts to an LDAP server should time out after two seconds, allowing additional lines in the service control file to be parsed (which provide a fall back to a secondary LDAP server or default options). The existing code failed to enforce that timeout during TCP connect, resulting in a hang far longer than two seconds if the LDAP server does not respond. Laurenz Albe
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions