[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #107495] gnutls_bye() blocks on network issues
From: |
anonymous |
Subject: |
[sr #107495] gnutls_bye() blocks on network issues |
Date: |
Fri, 15 Oct 2010 08:12:41 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3 |
Follow-up Comment #3, sr #107495 (project gnutls):
I'm not sure what mechanism is used in OpenLDAP (I'm the developer of
nss-pam-ldapd and I don't know too much about OpenLDAP internals). ITS#6673
has a backtrace that may be helpful though.
I suspect OpenLDAP uses a blocking socket and uses select() to do polling. As
a user of the OpenLDAP API, the socket is mostly hidden for me. As a
workaround for this problem I get the socket from OpenLDAP and use
setsockopt() to set SO_RCVTIMEO and SO_SNDTIMEO.
I don't understand why you need to negotiate a disconnect though. If the TCP
connection is severed for some reason or the other end is not responsive I
don't see the extra security in trying to negotiate a disconnect. Am I missing
something?
Anyway, thanks for your response.
Arthur
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107495>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/