You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Brian Baynes (JIRA)" <ji...@apache.org> on 2017/12/12 20:51:00 UTC

[jira] [Created] (GEODE-4086) ClientHealthMonitor removing client - socket should be closed before cleanup is done

Brian Baynes created GEODE-4086:
-----------------------------------

             Summary: ClientHealthMonitor removing client - socket should be closed before cleanup is done
                 Key: GEODE-4086
                 URL: https://issues.apache.org/jira/browse/GEODE-4086
             Project: Geode
          Issue Type: Bug
          Components: client/server
            Reporter: Brian Baynes


When ClientHealthMonitor decides to remove a client, it appears to initiate cleanup (including removing the client's unique ID/auth token) before ensuring the socket is closed, creating a race condition where the server may accept additional requests from the client before the connection is closed.  This results in an auth exception because the auth token for the client was already removed.
Instead, the socket should be closed before the cleanup is done.






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)