lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1220 - nss-pam-ldapd/nslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1220 - nss-pam-ldapd/nslcd



Author: arthur
Date: Mon Sep 27 23:19:32 2010
New Revision: 1220
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1220

Log:
remove disabling keepalives since we handle SIGPIPE anyway

Modified:
   nss-pam-ldapd/nslcd/myldap.c

Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c        Sun Sep 26 22:43:11 2010        (r1219)
+++ nss-pam-ldapd/nslcd/myldap.c        Mon Sep 27 23:19:32 2010        (r1220)
@@ -685,12 +685,6 @@
       log_log(LOG_WARNING,"ldap_unbind() failed: %s",ldap_err2string(rc2));
     return rc;
   }
-  /* disable keepalive on the LDAP connection socket (why?) */
-  if (ldap_get_option(session->ld,LDAP_OPT_DESC,&sd)==LDAP_SUCCESS)
-  {
-    /* ignore errors */
-    (void)setsockopt(sd,SOL_SOCKET,SO_KEEPALIVE,(void *)&off,sizeof(off));
-  }
   /* update last activity and finish off state */
   time(&(session->lastactivity));
   return LDAP_SUCCESS;
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits