[gnutls-dev] Bug#386530: sits waiting for server reponse in socket_bye

Andreas Metzler ametzler at downhill.at.eu.org
Sun May 27 11:52:48 CEST 2007

this is http://bugs.debian.org/386530 submitted by "Robert Millan
[ackstorm]" <rmillan at ackstorm.es>:

On 2006-09-08 "Robert Millan [ackstorm]" <rmillan at ackstorm.es> wrote:
> Package: gnutls-bin
> Severity: normal
> Tags: patch upstream

> Some servers (e.g. IIS) don't send a reply to gnutls_bye's close request.  This
> causes socket_bye to sit waiting for input from peer that never comes.

> Since socket_bye is going to close the connection, we don't need to wait for
> it anyway.  My attached patch replaces GNUTLS_SHUT_RDWR with GNUTLS_SHUT_WR,
> which seems to archieve that.

> Note: this patch has already been sent to upstream (bug-gnutls at gnu.org)

I have stumbled upon this when browsing through gnutls' Debian's bug
and it still seems to be open in 1.7.x. Due to bug-gnutls at gnu.org
being non-public I do not know whether this has already been

cu andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_not_wait_for_server_in_socket_bye.diff
Type: text/x-diff
Size: 550 bytes
Desc: not available
URL: </pipermail/attachments/20070527/2bd56691/attachment.diff>

More information about the Gnutls-devel mailing list