From: Pierangelo Masarati Date: Wed, 19 Aug 2009 20:27:10 +0000 (+0000) Subject: first round of fixes; add TCP keepalive stuff. X-Git-Tag: ACLCHECK_0~264 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f52273fe846db78fb7946437f864f1075935fe2c;p=openldap first round of fixes; add TCP keepalive stuff. --- diff --git a/doc/man/man3/ldap_get_option.3 b/doc/man/man3/ldap_get_option.3 index 8c9b5ee913..5839f78944 100644 --- a/doc/man/man3/ldap_get_option.3 +++ b/doc/man/man3/ldap_get_option.3 @@ -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