geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit f827151059463740fbdd59834ce0620b81d80d61
parent c70b510eb6ff2a91583e8dcd819af3fb7667bfa7
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat, 12 Aug 2023 19:19:26 +0200

Add TLS_WANT to tls_read too.

Diffstat:
Mmain.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -1126,6 +1126,10 @@ read_selector_again: shufbuf, sizeof(shufbuf)-1); } + if (shuflen == TLS_WANT_POLLIN \ + || shuflen == TLS_WANT_POLLOUT) { + continue; + } if (shuflen == -1 && errno == EINTR) continue; for (shufpos = 0; shufpos < shuflen;