URI: 
       Add TLS_WANT on tls_close too. - geomyidae - A small C-based gopherd.
  HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit 37b32150292c712dd823fdf810e7ee766a2358a9
   DIR parent 6aaceedcc36a36f52cfb27bfdbcfde2ba71381da
  HTML Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sat, 12 Aug 2023 19:21:36 +0200
       
       Add TLS_WANT on tls_close too.
       
       Diffstat:
         M main.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/main.c b/main.c
       @@ -1164,7 +1164,7 @@ read_selector_again:
                                                if (tlsclientreader) {
                                                        wlen = TLS_WANT_POLLIN;
                                                        while (wlen == TLS_WANT_POLLIN \
       -                                                                wlen == TLS_WANT_POLLOUT) {
       +                                                                || wlen == TLS_WANT_POLLOUT) {
                                                                wlen = tls_close(tlsclientctx);
                                                        }
                                                        tls_free(tlsclientctx);