]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Don't call fr_bio_shutdown recursively
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 28 Jul 2025 23:31:17 +0000 (16:31 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 28 Jul 2025 23:31:17 +0000 (16:31 -0700)
src/lib/bio/fd.c

index bd15f9592572880ac67870cae119a7e073adc45d..c7f6b4fd8aabfaaf640aaa7285f3705da6ca793b 100644 (file)
@@ -1018,12 +1018,6 @@ int fr_bio_fd_close(fr_bio_t *bio)
 
        if (my->info.state == FR_BIO_FD_STATE_CLOSED) return 0;
 
-       /*
-        *      Shut the bio down cleanly.
-        */
-       rcode = fr_bio_shutdown(bio);
-       if (rcode < 0) return rcode;
-
        my->bio.read = fr_bio_fail_read;
        my->bio.write = fr_bio_fail_write;