On 2019-02-15 Andreas Metzler <ametz...@bebt.de> wrote: > On 2019-02-13 Nye Liu <n...@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.