yuThomas
yuThomas
> Obviously the assertion should not fire. Can you share an example that reproduces this? sorry too late, example as below: int main(int argc, char** argv) { moodycamel::ConcurrentQueue que; std::vector...
> In this example, multiple producer threads are sharing the same producer tokens concurrently, which breaks the contract of the API. get it, thanks
> 是的,而且需要有ca证书,可以参考:#155 中讨论的。 好的,感谢
> 是的,而且需要有ca证书,可以参考:#155 中讨论的。 再次请问,是否有提供单向认证功能,即客户端不携带证书。 我尝试使用单向认证(也就是上面的代码),也查看了相关的issue,没有找到类似的信息。但是从源码中samples的redis_ssl示例中,发现并没有对客户端认证文件的强校验,我推测应该是支持此种功能,或是我的理解有问题。谢谢
> > > 是的,而且需要有ca证书,可以参考:#155 中讨论的。 > > > > > > 再次请问,是否有提供单向认证功能,即客户端不携带证书。 我尝试使用单向认证(也就是上面的代码),也查看了相关的issue,没有找到类似的信息。但是从源码中samples的redis_ssl示例中,发现并没有对客户端认证文件的强校验,我推测应该是支持此种功能,或是我的理解有问题。谢谢 > > 这个双向验证似乎是redis-server要求的。 1. redis-server我这边配置的是单向认证,同时我尝试以其他语言如GoLang进行单向认证连接测试,可以通过。 2. 在使用acl::redis_client::set_ssl_conf()这个接口时,我使用的是polarssl,acl::polarssl_conf构造函数中第二个参数为不校验,理解为应该是客户端不校验服务端证书,但是从实际输出看,应该还是做的双向校验