mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
dirmngr: Reduce default LDAP timeout to 15 seconds.
* dirmngr/dirmngr.c (DEFAULT_LDAP_TIMEOUT): Change to 15. * dirmngr/dirmngr_ldap.c (DEFAULT_LDAP_TIMEOUT): Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
f9f72ffbfa
commit
ab7ac82704
3 changed files with 3 additions and 3 deletions
|
@ -279,7 +279,7 @@ static struct debug_flags_s debug_flags [] =
|
|||
};
|
||||
|
||||
#define DEFAULT_MAX_REPLIES 10
|
||||
#define DEFAULT_LDAP_TIMEOUT 100 /* arbitrary large timeout */
|
||||
#define DEFAULT_LDAP_TIMEOUT 15 /* seconds */
|
||||
|
||||
#define DEFAULT_CONNECT_TIMEOUT (15*1000) /* 15 seconds */
|
||||
#define DEFAULT_CONNECT_QUICK_TIMEOUT ( 2*1000) /* 2 seconds */
|
||||
|
|
|
@ -104,7 +104,7 @@ static void npth_protect (void) { }
|
|||
typedef struct timeval my_ldap_timeval_t;
|
||||
#endif
|
||||
|
||||
#define DEFAULT_LDAP_TIMEOUT 100 /* Arbitrary long timeout. */
|
||||
#define DEFAULT_LDAP_TIMEOUT 15 /* Arbitrary long timeout. */
|
||||
|
||||
|
||||
/* Constants for the options. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue