Commit 5cd5a8cd authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

Rolled back change.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6721 b35dd754-fafc-0310-a699-88a17e54d16e
parent efa15d1c
......@@ -31,8 +31,6 @@ import javax.servlet.ServletConfig;
import java.io.IOException;
import java.net.InetAddress;
import sun.net.util.IPAddressUtil;
/**
* Servlet which handles requests to the HTTP binding service. It determines if there is currently
* an {@link HttpSession} related to the connection or if one needs to be created and then passes
......@@ -182,9 +180,7 @@ public class HttpBindServlet extends HttpServlet {
try {
HttpConnection connection = new HttpConnection(rid, request.isSecure());
String remoteAddr = request.getRemoteAddr();
InetAddress address = InetAddress.getByAddress(IPAddressUtil.
textToNumericFormatV4(remoteAddr));
InetAddress address = InetAddress.getByName(request.getRemoteAddr());
connection.setSession(sessionManager.createSession(address, rootNode, connection));
respond(response, connection);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment