mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
first round of fixes; add TCP keepalive stuff.
This commit is contained in:
parent
2813d6bc3c
commit
f52273fe84
1 changed files with 32 additions and 0 deletions
|
|
@ -494,6 +494,38 @@ Gets the SASL username;
|
|||
must be a
|
||||
.BR "char **" .
|
||||
Its content needs to be freed by the caller.
|
||||
.SH TCP OPTIONS
|
||||
The TCP options are OpenLDAP specific.
|
||||
Mainly intended for use with Linux, they may not be portable.
|
||||
.TP
|
||||
.B LDAP_OPT_X_KEEPALIVE_IDLE
|
||||
Sets/gets the number of seconds a connection needs to remain idle
|
||||
before TCP starts sending keepalive probes.
|
||||
.BR invalue
|
||||
must be
|
||||
.BR "const int *" ;
|
||||
.BR outvalue
|
||||
must be
|
||||
.BR "int *" .
|
||||
.TP
|
||||
.B LDAP_OPT_X_KEEPALIVE_PROBES
|
||||
Sets/gets the maximum number of keepalive probes TCP should send
|
||||
before dropping the connection.
|
||||
.BR invalue
|
||||
must be
|
||||
.BR "const int *" ;
|
||||
.BR outvalue
|
||||
must be
|
||||
.BR "int *" .
|
||||
.TP
|
||||
.B LDAP_OPT_X_KEEPALIVE_INTERVAL
|
||||
Sets/gets the interval in seconds between individual keepalive probes.
|
||||
.BR invalue
|
||||
must be
|
||||
.BR "const int *" ;
|
||||
.BR outvalue
|
||||
must be
|
||||
.BR "int *" .
|
||||
.SH TLS OPTIONS
|
||||
The TLS options are OpenLDAP specific.
|
||||
.\".TP
|
||||
|
|
|
|||
Loading…
Reference in a new issue