gnutls_handshake fails after EAGAIN

Tim Kosse tim.kosse at
Wed Aug 19 18:40:28 CEST 2009


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:

The fix is in;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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20090819/f77f9449/attachment.pgp>

More information about the Gnutls-devel mailing list