Do shuflen TLS_WANT only for tls_write. - geomyidae - a small C-based gopherd (… | |
git clone git://git.codemadness.org/geomyidae | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fe5c840d34c12bc38be14397144731b9f46ecec8 | |
parent d1bda986e611c9ca93670ffa2d10aae178fb2067 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 12 Aug 2023 20:39:57 +0200 | |
Do shuflen TLS_WANT only for tls_write. | |
Diffstat: | |
M main.c | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/main.c b/main.c | |
@@ -1128,10 +1128,10 @@ read_selector_again: | |
shuflen = tls_read(tls… | |
shufbuf, | |
sizeof(shufbuf… | |
- } | |
- if (shuflen == TLS_WANT_POLLIN… | |
- || shuflen == … | |
- continue; | |
+ if (shuflen == TLS_WAN… | |
+ || shu… | |
+ continue; | |
+ } | |
} | |
if (shuflen == -1 && errno == … | |
continue; |