Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup committed Feb 21, 2017
1 parent 5bd7efa commit d15b41e
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ InetSocketAddress start() throws IOException {
System.out.println("Read " + n + " bytes from a file. Value: " + new String(buffer, 0, n));
socketOut.write(buffer, 0, n);
socketOut.flush();
System.out.println("Done writing to Socket");
System.out.println(incomingSocket.toString());
System.out.println(incomingSocket.isClosed());
}
log.info("Done redirecting output");
} catch (Exception e) {
Expand Down Expand Up @@ -177,10 +174,10 @@ InetSocketAddress start() throws IOException {
});
InetSocketAddress inetSocketAddress = (InetSocketAddress) listenSocket.getLocalSocketAddress();

log.info("Pinging...");
log.info("Ping: " + IOUtils.toString(URI.create("http://localhost:" + inetSocketAddress.getPort() + "/v1.25/_ping")));
log.info("Ping: " + IOUtils.toString(URI.create("http://localhost:" + inetSocketAddress.getPort() + "/v1.25/_ping")));
log.info("Ping: " + IOUtils.toString(URI.create("http://localhost:" + inetSocketAddress.getPort() + "/v1.25/_ping")));
// log.info("Pinging...");
// log.info("Ping: " + IOUtils.toString(URI.create("http://localhost:" + inetSocketAddress.getPort() + "/v1.25/_ping")));
// log.info("Ping: " + IOUtils.toString(URI.create("http://localhost:" + inetSocketAddress.getPort() + "/v1.25/_ping")));
// log.info("Ping: " + IOUtils.toString(URI.create("http://localhost:" + inetSocketAddress.getPort() + "/v1.25/_ping")));

return inetSocketAddress;
}
Expand Down

0 comments on commit d15b41e

Please sign in to comment.