You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Alan D. Cabrera" <ad...@toolazydogs.com> on 2012/07/11 15:15:52 UTC

Sending an invalid auth scheme

It seems that if the client sends an invalid auth scheme the server simply drops the connection without returning an error packet.  Is this true?  If this is true is this desired behavior?


Regards,
Alan

 

Re: Sending an invalid auth scheme

Posted by "Alan D. Cabrera" <ad...@toolazydogs.com>.
I think that I'm looking/running the 3.5.x code.  I'm seeing the server drop the connection if it doesn't recognize the auth scheme; note that this is different than an auth failure with a valid scheme.  If this is not the case I'm happy to dig further.


Regards,
Alan

 

On Jul 11, 2012, at 6:54 PM, Camille Fournier wrote:

> You should get an auth exception along with the invalidation. At least in
> the java code, we put a fix in for that in 3.3.3.
> 
> C
> 
> On Wed, Jul 11, 2012 at 9:15 AM, Alan D. Cabrera <ad...@toolazydogs.com>wrote:
> 
>> It seems that if the client sends an invalid auth scheme the server simply
>> drops the connection without returning an error packet.  Is this true?  If
>> this is true is this desired behavior?
>> 
>> 
>> Regards,
>> Alan
>> 
>> 


Re: Sending an invalid auth scheme

Posted by Camille Fournier <ca...@apache.org>.
You should get an auth exception along with the invalidation. At least in
the java code, we put a fix in for that in 3.3.3.

C

On Wed, Jul 11, 2012 at 9:15 AM, Alan D. Cabrera <ad...@toolazydogs.com>wrote:

> It seems that if the client sends an invalid auth scheme the server simply
> drops the connection without returning an error packet.  Is this true?  If
> this is true is this desired behavior?
>
>
> Regards,
> Alan
>
>