Patrick Hunt commented on ZOOKEEPER-826:

actually afaik it's ok to do this, the request will be queued. why do you think 
this is a bug?

> cli.c should not call zoo_add_auth immediately after zookeeper_init() 
> ----------------------------------------------------------------------
>                 Key: ZOOKEEPER-826
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-826
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.1
>            Reporter: Michi Mutsuzaki
>            Priority: Minor
> In cli.c, zoo_add_auth() gets called right after zookeeper_init(). Instead, 
> zoo_add_auth() should be called in the callback after the connection is 
> established. 
> --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