Skip to content
Snippets Groups Projects
Commit 9cb74229 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Introduce options to configure tcp-keepalive settings per connection. These

settings only work on Linux and are ignore when not supported (see
discussion on -devel
parent ad0cdfe1
No related branches found
No related tags found
No related merge requests found
......@@ -191,6 +191,13 @@ LDAP_BEGIN_DECL
#define LDAP_OPT_X_GSSAPI_DO_NOT_FREE_CONTEXT 0x6200
#define LDAP_OPT_X_GSSAPI_ALLOW_REMOTE_PRINCIPAL 0x6201
/*
* OpenLDAP per connection tcp-keepalive settings
* (Linux only, ignored where unsupported)
*/
#define LDAP_OPT_X_KEEPALIVE_IDLE 0x6300
#define LDAP_OPT_X_KEEPALIVE_PROBES 0x6301
#define LDAP_OPT_X_KEEPALIVE_INTERVAL 0x6302
/* Private API Extensions -- reserved for application use */
#define LDAP_OPT_PRIVATE_EXTENSION_BASE 0x7000 /* Private API inclusive */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment