Fix other potential crashes in tunnel proxy server

This commit is contained in:
Simon Stürz 2021-12-03 12:35:54 +01:00
parent 56536d93cd
commit b865b9903a

View File

@ -116,7 +116,6 @@ TunnelProxyServer::TunnelProxyError TunnelProxyServer::registerClient(const QUui
TunnelProxyClient *tunnelProxyClient = m_proxyClients.value(clientId);
if (!tunnelProxyClient) {
qCWarning(dcTunnelProxyServer()) << "There is no client with client uuid" << clientId.toString();
tunnelProxyClient->killConnectionAfterResponse("Internal server error");
return TunnelProxyServer::TunnelProxyErrorInternalServerError;
}