gnutls-devel
[Top][All Lists]
Advanced

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

Re: gnutls_handshake fails after EAGAIN


From: Tim Kosse
Subject: Re: gnutls_handshake fails after EAGAIN
Date: Wed, 19 Aug 2009 18:40:28 +0200
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)

Hi,

Vivek Dasmohapatra wrote:
> Probably worth checking that other functions with a similar calling
> convention (once with data, then with NULL for each EAGAIN) are also
> handled suitably, since it's an easy mistake to make, and won't be picked
> up if the tests use blocking push-pull functions.

actually there has been another bug in 2.8.0 and 2.8.1 which was also
triggered when the push function returned EAGAIN:

http://lists.gnu.org/archive/html/gnutls-devel/2009-06/msg00022.html
http://lists.gnu.org/archive/html/gnutls-devel/2009-07/msg00000.html

The fix is in
http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=c7e003ad9427c655a1b559baff1239a2c1907f32

The GnuTLS developers also added a test case that should hopefully
detect future problems like this, see tests/mini-eagain.c

Regards,
Tim


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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