bx509d: If early ENOMEM, close the connection

This commit is contained in:
Nicolas Williams
2023-01-04 16:24:32 -06:00
parent 23c13886c4
commit e27ddc6596

View File

@@ -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 */