mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 00:35:49 +02:00
[284950] [dstore] Error binding socket on relaunch
This commit is contained in:
parent
eb950f22a7
commit
6071f025a0
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2002, 2010 IBM Corporation and others.
|
* Copyright (c) 2002, 2011 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -772,6 +772,7 @@ public class DStoreConnectorService extends StandardConnectorService implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (usedSSL && connectStatus.isSLLProblem()){
|
if (usedSSL && connectStatus.isSLLProblem()){
|
||||||
|
clientConnection.setPort(Integer.toString(getPort()));
|
||||||
// relaunching the server via the daemon so that we can connect again to the launched server with toggled useSSL settings
|
// relaunching the server via the daemon so that we can connect again to the launched server with toggled useSSL settings
|
||||||
launchStatus = launchServer(clientConnection, info, daemonPort, monitor);
|
launchStatus = launchServer(clientConnection, info, daemonPort, monitor);
|
||||||
if (launchStatus.isConnected()) {
|
if (launchStatus.isConnected()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue