From: Arran Cudbard-Bell Date: Thu, 27 Jan 2022 14:07:37 +0000 (-0600) Subject: Maybe the logging bio is stuck in an infinite loop? X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e745f820543f940393f8e8b3ab31d278032ce2dc;p=thirdparty%2Ffreeradius-server.git Maybe the logging bio is stuck in an infinite loop? Given we can only reproduce this issue in CI, this is the only way to check... --- diff --git a/src/lib/tls/log.c b/src/lib/tls/log.c index e25d765eee..5fad05ec6b 100644 --- a/src/lib/tls/log.c +++ b/src/lib/tls/log.c @@ -555,6 +555,7 @@ static int tls_log_request_bio_write_cb(BIO *bio, char const *in, int len) request_t *request = talloc_get_type_abort(lb->request, request_t); log_request_func_t func; char *le; + unsigned int log_iter = 0; /* * Pick the right logging function based on the type @@ -593,6 +594,8 @@ static int tls_log_request_bio_write_cb(BIO *bio, char const *in, int len) } fr_sbuff_set(&lb->logged_m, le + 1); + + printf("TLS BIO log_iter %u\n", log_iter++); } /*