Skip to content

Commit a30c1f4

Browse files
resolve #23
1 parent 97c279a commit a30c1f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jar/src/main/java/org/mobicents/tools/http/balancer/HttpRequestHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public void operationComplete(ChannelFuture arg0) throws Exception {
204204
if(request.getHeader("Sec-WebSocket-Protocol").equalsIgnoreCase("sip")){
205205
if(logger.isDebugEnabled()) {
206206
logger.debug("New SIP over WebSocket request. WebSocket uri: "+request.getUri());
207-
logger.debug("Dispatching WebSocket request to node: "+ node.getIp()+" port: "+(Integer)node.getProperties().get("wsPort"));
207+
logger.debug("Dispatching WebSocket request to node: "+ node.getIp()+" port: "+ node.getProperties().get("wsPort"));
208208
}
209209
wsrequest = true;
210210
wsVersion = request.getHeader(Names.SEC_WEBSOCKET_VERSION);
@@ -214,7 +214,7 @@ public void operationComplete(ChannelFuture arg0) throws Exception {
214214
}
215215
} else {
216216
if(logger.isDebugEnabled()) {
217-
logger.debug("Dispatching HTTP request to node: "+ node.getIp()+" port: "+(Integer)node.getProperties().get("httpPort"));
217+
logger.debug("Dispatching HTTP request to node: "+ node.getIp()+" port: "+ node.getProperties().get("httpPort"));
218218
}
219219
future = HttpChannelAssociations.inboundBootstrap.connect(new InetSocketAddress(node.getIp(), Integer.parseInt((String) node.getProperties().get("httpPort"))));
220220
}

0 commit comments

Comments
 (0)