gnutls-devel
[Top][All Lists]
Advanced

[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:07:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100908 CentOS/3.6-2.el5.centos Firefox/3.6.9

Follow-up Comment #2, sr #107495 (project gnutls):

This how is the typical TLS session closure works. In TLS the connection
closes if both peers agree on it (very few implementations though do that
right). If you want to set timeout or sockets to non blocking I/O you should
do it to the underlying layer (sockets). You could also non wait for reply
from the peer (by specifying to _WR only flag to _bye) but then you will be
vulnerable to attacks that terminate the connection prematurely.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?107495>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]