mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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:
commit
0fe1632c71
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user