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

Andreas Metzler ametzler at bebt.de
Fri Feb 15 06:31:05 GMT 2019


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? 

Hello,

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

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

cu Andreas



More information about the Pkg-wmaker-devel mailing list