Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerException when calling Client.ip() after the connection has been closed #2576
When the ip() method is called after the client connection has been closed a NPE is thrown. I would expect that either the IP addressed the client used while the connection was active would be returned or that Null or an Empty String would be returned. Is there a preference on the return value? Note that there is already an active() method to check if the connection is still valid.