guanqingan / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

memcached 开启sasl cram-md5时,客户端无法连接 #247

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  配置memcached sasl 为cram-md5
2.  客户端连接
3.  抛出异常

代码查看,是协议处理有BUG

Original issue reported on code.google.com by ych.ti...@gmail.com on 27 Feb 2013 at 1:48

GoogleCodeExporter commented 9 years ago
你是否用的是二进制协议? 
SASL验证只支持二进制协议,具体看文档

https://code.google.com/p/xmemcached/wiki/User_Guide_zh#SASL验证

Original comment by xzhu...@avos.com on 27 Feb 2013 at 3:15

GoogleCodeExporter commented 9 years ago
是二进制协议,bug在于xmemcached没有处理auth_step返回码

Original comment by ych.ti...@gmail.com on 4 Mar 2013 at 3:02

GoogleCodeExporter commented 9 years ago
请提供memecached和xmemcached的具体版本吧,因为这块过去是测试
过的,我再验证看看。

Original comment by killme2...@gmail.com on 4 Mar 2013 at 3:05

GoogleCodeExporter commented 9 years ago
测试了下,果然是有问题。似乎协议变更了,需要重新审查��
�。

Original comment by killme2...@gmail.com on 12 Mar 2013 at 2:57

GoogleCodeExporter commented 9 years ago
测试了下,果然是有问题。似乎协议变更了,需要重新审查��
�。

Original comment by killme2...@gmail.com on 12 Mar 2013 at 2:59