| Add TLS_WANT to tls_read too. - geomyidae - A small C-based gopherd. | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit f827151059463740fbdd59834ce0620b81d80d61 | |
| parent c70b510eb6ff2a91583e8dcd819af3fb7667bfa7 | |
| Author: Christoph Lohmann <[email protected]> | |
| Date: Sat, 12 Aug 2023 19:19:26 +0200 | |
| Add TLS_WANT to tls_read too. | |
| Diffstat: | |
| M main.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… | |
| } | |
| + if (shuflen == TLS_WANT_POLLIN… | |
| + || shuflen == … | |
| + continue; | |
| + } | |
| if (shuflen == -1 && errno == … | |
| continue; | |
| for (shufpos = 0; shufpos < sh… |