From e27ddc65962bd1da198629494419bc7e04c25ed7 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 4 Jan 2023 16:24:32 -0600 Subject: [PATCH] bx509d: If early ENOMEM, close the connection --- kdc/bx509d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdc/bx509d.c b/kdc/bx509d.c index d78b49275..b7e9096f7 100644 --- a/kdc/bx509d.c +++ b/kdc/bx509d.c @@ -2600,7 +2600,7 @@ route(void *cls, * possibly multiple times. */ if ((ret = set_req_desc(connection, method, url, &r))) - return bad_503(r, ret, "Could not initialize request state"); + return MHD_NO; *ctx = r; /* All requests other than /health require authentication */