tjxduck opened a new issue #1090: SelectiveChannel问题 URL: https://github.com/apache/incubator-brpc/issues/1090 **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 我实现了一个私有协议,rpc请求里有几个类似 http headers 的特殊参数要设置。 我目前通过继承 Controller 来把特殊参数传进 protocol 的 pack_request 函数,这个 Controller 和普通的 channel 一起能正常工作。 但用到 SelectiveChannel 时,pack_request 传入的 Controller 不是我继承的那个,导致我无法获取参数。 **Describe the solution you'd like (描述你期望的解决方法)** SelectiveChannel 能把特殊参数传进去 **Describe alternatives you've considered (描述你想到的折衷方案)** **Additional context/screenshots (更多上下文/截图)**
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
