Author: remy.maucherat(a)jboss.com
Date: 2008-05-30 11:28:30 -0400 (Fri, 30 May 2008)
New Revision: 650
Modified:
trunk/java/org/jboss/web/cluster/ClusterListener.java
Log:
- Cleanup, and add a fixme for SSL.
Modified: trunk/java/org/jboss/web/cluster/ClusterListener.java
===================================================================
--- trunk/java/org/jboss/web/cluster/ClusterListener.java 2008-05-30 15:01:58 UTC (rev
649)
+++ trunk/java/org/jboss/web/cluster/ClusterListener.java 2008-05-30 15:28:30 UTC (rev
650)
@@ -719,12 +719,9 @@
if (log.isDebugEnabled()) {
log.debug(sm.getString("clusterListener.status",
engine.getName()));
}
-
- Connector connector =
findProxyConnector(engine.getService().findConnectors());
HashMap<String, String> parameters = new HashMap<String,
String>();
parameters.put("JVMRoute", engine.getJvmRoute());
parameters.put("Load", "1");
-
// Send STATUS request
sendRequest("STATUS", false, parameters, i);
}
@@ -1081,9 +1078,7 @@
*/
protected Socket getConnection(int i)
throws IOException {
- if (proxies[i].port == -1) {
- // FIXME: Determine connection port and address automagically
- }
+ // FIXME: Add SSL (using a client cert)
if (proxies[i].address == null) {
return new Socket(InetAddress.getLocalHost(), proxies[i].port);
} else {
Show replies by date