[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michi Mutsuzaki updated ZOOKEEPER-800:
--------------------------------------

    Status: Patch Available  (was: In Progress)

> 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
>
>         Attachments: ZOOKEEPER-800.patch
>
>
> 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.

Reply via email to