Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/main/java/hudson/remoting/Engine.java
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,9 @@ public void closeRead() throws IOException {
client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
}
}
if (!succeedsWithRetries(this::pingSuccessful)) {
return;
}
// if (!succeedsWithRetries(this::pingSuccessful)) {
// return;
// }
if (!succeedsWithRetries(() -> {
container.connectToServer(
new AgentEndpoint(),
Expand Down Expand Up @@ -1270,6 +1270,7 @@ private static SSLContext getSSLContext(List<X509Certificate> x509Certificates,
SSLContext ctx = SSLContext.getInstance("TLS");
// now we have our custom socket factory
ctx.init(null, trustManagerFactory.getTrustManagers(), null);
sslContext = ctx;
}
return sslContext;
}
Expand Down