Bug#917467: wmbiff: tlscomm_expect() does not handle EAGAIN or GNUTLS_E_AGAIN

Andreas Metzler ametzler at bebt.de
Fri Feb 15 06:35:56 GMT 2019

On 2019-02-15 Andreas Metzler <ametzler at bebt.de> wrote:
> On 2019-02-13 Nye Liu <nyet at nyet.org> wrote:
>> Also, I'm not sure that the infinite spin wait while() makes sense in
>> GNUTLS_E_EAGAIN either. Is some sort of select() more appropriate? 

> It is the common idiom for this special case. See e.g. GnuTLS'
> examples.

> https://gitlab.com/gnutls/gnutls/commit/ca86194b50559abc99d1429dfa7c5f9f78997d9e

"It" being the loop (not select). - Sorry for being too terse.

cu Andreas.

More information about the Pkg-wmaker-devel mailing list