git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 966f015) | patch
Fix timeout in LDAP lookup of libpq connection parameters
2014年4月16日 15:18:02 +0000 (17:18 +0200)
2014年4月16日 16:59:11 +0000 (18:59 +0200)
commit b764080eed128e4ab15db801923ef13c45b506b2
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
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /