chenBright commented on issue #2264:
URL: https://github.com/apache/brpc/issues/2264#issuecomment-2268120780

   > 大概是一个提供 sslpolicy和nonsslpolicy的连接实现;具体再sslpolicy里面 需要处理ssl handshake等内容
   
   将ssl逻辑都抽成SSLPolicy来是一个好主意。
   
   虽然框架会基于目前框架的ssl设置提供一个默认的SSLPolicy,但是当用户需要自定义ssl 
handshake过程的时候,要这里逻辑写好,可能得去了解rpc实现(特别是Socket)。
   
   > 然而基于SSL本身的options非常的多,各个用户对于SSL的options要求也不一样以及同时SSL的版本也在不断更新等理由,
   导致brpc支持ssl功能代码难以具备普遍性,无法适应新的变化。
   
   基于这个原因,自定义ssl handshake的复杂度应该是可以接受的。
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to