]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add debug for writes, too. Closes #5342
authorAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jun 2024 14:49:28 +0000 (10:49 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jun 2024 15:00:26 +0000 (11:00 -0400)
src/main/cb.c

index ad66e0d759cfd083f933e20a5f2df5f768612831..65e484fb54e7cb91d34bad66bf52c4727fb31d3b 100644 (file)
@@ -117,6 +117,10 @@ void cbtls_info(SSL const *s, int where, int ret)
                                RDEBUG2("(TLS) %s - %s: Need to read more data: %s", conf->name, role, state);
                                return;
                        }
+                       if (SSL_want_write(s)) {
+                               RDEBUG2("(TLS) %s - %s: Need to write more data: %s", conf->name, role, state);
+                               return;
+                       }
                        RERROR("(TLS) %s - %s: Error in %s", conf->name, role, state);
                }
        }