New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes NPE when calling ip() on disconnected clients. #2922

Merged
merged 2 commits into from Nov 14, 2014

Conversation

Projects
None yet
2 participants
@kfeuz
Contributor

kfeuz commented Nov 2, 2014

As discussed in Issue #2576 the correct behavior is to return null if the client has disconnected. I have updated the code to prevent the NPE and to return null if the client has disconnected.

benfry added a commit that referenced this pull request Nov 14, 2014

Merge pull request #2922 from kfeuz/Issue2576
Fixes NPE when calling ip() on disconnected clients.

@benfry benfry merged commit 158a462 into processing:master Nov 14, 2014

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Nov 14, 2014

Member

Thanks!

Member

benfry commented Nov 14, 2014

Thanks!

@kfeuz kfeuz deleted the kfeuz:Issue2576 branch Nov 21, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment