You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/01/20 06:31:00 UTC

[GitHub] [incubator-brpc] jamesge edited a comment on issue #1033: redis 认证机制在重试策略下存在问题/controller中 auth flag存在的意义?

jamesge edited a comment on issue #1033: redis 认证机制在重试策略下存在问题/controller中 auth flag存在的意义?
URL: https://github.com/apache/incubator-brpc/issues/1033#issuecomment-576126900
 
 
   如果发送时的socket需要auth,controller里的with_auth flag就会被设1,解析response时就知道哪个是auth的结果并跳过了。这里的问题应该是在[这里](https://github.com/apache/incubator-brpc/commit/2a8056e6a25486f31fb66978bb84dac286116ee6#diff-2b9be1bcc8c6fcd08928ef21172df470)里被改错了。重试前或每次使用socket前应重置with_auth。麻烦尝试一下[master最新的](https://github.com/apache/incubator-brpc/commit/4e519089a4f009c6892409a1a70d76fdb07eb5d5),看看是否修复了问题。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org