[Top][All Lists]

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

Re: gnutls_handshake fails after EAGAIN

From: Vivek Dasmohapatra
Subject: Re: gnutls_handshake fails after EAGAIN
Date: Wed, 19 Aug 2009 17:12:50 +0100 (BST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Tue, 18 Aug 2009, Simon Josefsson wrote:

Good to see it solved -- I closed the bug tracker for this.  Let me know
if you think your patch is better, or if some other code improvement
could be made here.

I don't think there's much to choose between them: it's a static function
called only from one place, so it doesn't matter much whether the change
is made in the caller or the callee.

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.

reply via email to

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