Updated to new Protocol Version
This commit is contained in:
@@ -29,8 +29,8 @@ public final class SessionContext {
|
||||
String sessionId = headers.get("session");
|
||||
if (sessionId == null) return new SessionContext(null, null, false);
|
||||
|
||||
String ip = (client.getPipelineConnection().getSocket() != null && client.getPipelineConnection().getSocket().getInetAddress() != null)
|
||||
? client.getPipelineConnection().getSocket().getInetAddress().getHostAddress() : "";
|
||||
String ip = (client.getConnection().getSocket() != null && client.getConnection().getSocket().getInetAddress() != null)
|
||||
? client.getConnection().getSocket().getInetAddress().getHostAddress() : "";
|
||||
|
||||
String userAgent = headers.getOrDefault("user-agent", "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user