[jira] Assigned: (ZOOKEEPER-800) zoo_add_auth returns ZOK if zookeeper handle is in ZOO_CLOSED_STATE
[ https://issues.apache.org/jira/browse/ZOOKEEPER-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar reassigned ZOOKEEPER-800: --- Assignee: Michi Mutsuzaki (was: Mahadev konar) > 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 >Assignee: Michi Mutsuzaki >Priority: Minor > Fix For: 3.3.2, 3.4.0 > > > 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.
[jira] Assigned: (ZOOKEEPER-800) zoo_add_auth returns ZOK if zookeeper handle is in ZOO_CLOSED_STATE
[ https://issues.apache.org/jira/browse/ZOOKEEPER-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar reassigned ZOOKEEPER-800: --- Assignee: Mahadev konar > 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 >Assignee: Mahadev konar >Priority: Minor > Fix For: 3.3.2, 3.4.0 > > > 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.