zoo_add_auth returns ZOK if zookeeper handle is in ZOO_CLOSED_STATE
-------------------------------------------------------------------
Key: ZOOKEEPER-800
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-800
Project: Zookeeper
Issue Type: Bug
Components: c client
Affects Versions: 3.3.1
Reporter: Michi Mutsuzaki
Priority: Minor
This happened when I called zoo_add_auth() immediately after zookeeper_init().
It took me a while to figure out that authentication actually failed since
zoo_add_auth() returned ZOK. It should return ZINVALIDSTATE instead.
--Michi
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.