commit | 37caeee157da5d73c8c0965d48889dd587c072f7 | [log] [tgz] |
---|---|---|
author | Nathan Rini <nate@schedmd.com> | Tue Sep 02 16:02:56 2025 -0600 |
committer | Nathan Rini <nate@schedmd.com> | Tue Sep 02 16:44:48 2025 -0600 |
tree | 6130e1fc553b7057fb82d35c6a030ce18c665530 | |
parent | 72dca4cd501d903859d64a2b87223005e34de7e2 [diff] |
Add xassert() to on_http_connection_finish() Catch when con->ref and con->con are not pointing to the same conmgr connection. Issue: 50189
diff --git a/src/slurmrestd/http.c b/src/slurmrestd/http.c index 383c955..6748ee4 100644 --- a/src/slurmrestd/http.c +++ b/src/slurmrestd/http.c
@@ -803,6 +803,7 @@ xassert(!context->auth); FREE_NULL_REST_AUTH(context->auth); + xassert(conmgr_fd_get_ref(context->ref) == context->con); conmgr_fd_free_ref(&context->ref); context->con = NULL;