Merge pull request #10337 from Icinga/do-not-close-connection-in-request-cert-handler-214

Don't abruptly close anonymous connections
This commit is contained in:
Julian Brost 2025-02-04 15:14:26 +01:00 committed by GitHub
commit 0fe1632c71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,14 +286,6 @@ delayed_request:
Log(LogInformation, "JsonRpcConnection")
<< "Certificate request for CN '" << cn << "' is pending. Waiting for approval.";
if (origin) {
auto client (origin->FromClient);
if (client && !client->GetEndpoint()) {
client->Disconnect();
}
}
return result;
}